/// Determines if something is available to read.
Determines if something is available to read.
Determines if something is available to read .
pub fn can_read(&self) -> bool {
        const DATA_READY_BIT: usize = 0;
        let line_status = unsafe { io::inb(self.port + GdbSerial::LINE_STATUS_REGISTER) };
        line_status.get_bit(DATA_READY_BIT)
    }
pub fn can_read ( & self ) -> bool { const DATA_READY_BIT : usize = 0 ; let line_status = unsafe { io :: inb ( self . port + GdbSerial :: LINE_STATUS_REGISTER ) } ; line_status . get_bit ( DATA_READY_BIT ) }
Determines if something is available to read.
Determines if something is available to read .
&self