struct SerialSnapshot {
interrupt_enable: u8,
interrupt_identification: u8,
line_control: u8,
line_status: u8,
modem_control: u8,
modem_status: u8,
scratch: u8,
baud_divisor: u16,
in_buffer: VecDeque<u8>,
has_input: bool,
has_output: bool,
last_write_was_newline: bool,
}Fields§
§interrupt_enable: u8§interrupt_identification: u8§line_control: u8§line_status: u8§modem_control: u8§modem_status: u8§scratch: u8§baud_divisor: u16§in_buffer: VecDeque<u8>§has_input: bool§has_output: bool§last_write_was_newline: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for SerialSnapshot
impl<'de> Deserialize<'de> for SerialSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SerialSnapshot
impl RefUnwindSafe for SerialSnapshot
impl Send for SerialSnapshot
impl Sync for SerialSnapshot
impl Unpin for SerialSnapshot
impl UnwindSafe for SerialSnapshot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more