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