pub struct Out {
pub writes: Vec<Vec<u8>>,
pub spdus: Vec<Vec<u8>>,
pub timer: Option<Duration>,
pub error: Option<TransportError>,
}Expand description
What the transport layer wants done after handling an input.
Fields§
§writes: Vec<Vec<u8>>Link-layer TPDU frames to write to the device, in order.
spdus: Vec<Vec<u8>>Fully-reassembled SPDU payloads to pass up to the session layer.
timer: Option<Duration>Requested delay until the next Tick.
error: Option<TransportError>A transport error (e.g. reply timeout, unexpected tag).
Trait Implementations§
impl Eq for Out
impl StructuralPartialEq for Out
Auto Trait Implementations§
impl Freeze for Out
impl RefUnwindSafe for Out
impl Send for Out
impl Sync for Out
impl Unpin for Out
impl UnsafeUnpin for Out
impl UnwindSafe for Out
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