pub enum DriverOutput {
Opened,
Frame {
bytes: Vec<u8>,
correlation: FrameCorrelation,
},
Terminal(TransportTerminal),
PostTerminalIgnored(PostTerminalEvent),
Refused(EventRefusal),
}Expand description
One decision output of the driver.
Variants§
Opened
The socket proved open; the binding may record Connected.
Frame
One validated canonical frame with its correlation class.
Fields
§
correlation: FrameCorrelationCorrelation class of this frame.
Terminal(TransportTerminal)
The one typed terminal fate of this driver lifetime.
PostTerminalIgnored(PostTerminalEvent)
A typed post-terminal no-op (F3); never reaches the client unit.
Refused(EventRefusal)
A typed refusal of an event illegal in the current phase.
Trait Implementations§
Source§impl Clone for DriverOutput
impl Clone for DriverOutput
Source§fn clone(&self) -> DriverOutput
fn clone(&self) -> DriverOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DriverOutput
impl Debug for DriverOutput
impl Eq for DriverOutput
Source§impl PartialEq for DriverOutput
impl PartialEq for DriverOutput
impl StructuralPartialEq for DriverOutput
Auto Trait Implementations§
impl Freeze for DriverOutput
impl RefUnwindSafe for DriverOutput
impl Send for DriverOutput
impl Sync for DriverOutput
impl Unpin for DriverOutput
impl UnsafeUnpin for DriverOutput
impl UnwindSafe for DriverOutput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.