Enum abi::syscall::serial::SerialRequest
source · pub enum SerialRequest {
OpenPort {
port: u16,
},
ProvideReceiveBuffer {
port: u16,
buffer: ByteBoxWire,
},
Flush {
port: u16,
},
SendData {
port: u16,
buffer: ByteBoxWire,
used: usize,
},
}
Variants§
Trait Implementations§
source§impl Debug for SerialRequest
impl Debug for SerialRequest
source§impl<'de> Deserialize<'de> for SerialRequest
impl<'de> Deserialize<'de> for SerialRequest
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
source§impl Format for SerialRequestwhere
ByteBoxWire: Format,
impl Format for SerialRequestwhere
ByteBoxWire: Format,
Auto Trait Implementations§
impl Freeze for SerialRequest
impl RefUnwindSafe for SerialRequest
impl Send for SerialRequest
impl Sync for SerialRequest
impl Unpin for SerialRequest
impl UnwindSafe for SerialRequest
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