pub enum Ingress<'p> {
Drop(DropReason),
Respond {
len: usize,
},
Dispatch(Dispatch<'p>),
}Expand description
What the caller must do with an arriving payload.
Variants§
Drop(DropReason)
Send nothing and account for it.
Respond
out[..len] is a complete response payload: a retained response
being retransmitted, or an error the engine answered on its own.
Dispatch(Dispatch<'p>)
Dispatch the frame, then call DeviceEngine::complete.
Trait Implementations§
impl<'p> Copy for Ingress<'p>
impl<'p> Eq for Ingress<'p>
impl<'p> StructuralPartialEq for Ingress<'p>
Auto Trait Implementations§
impl<'p> Freeze for Ingress<'p>
impl<'p> RefUnwindSafe for Ingress<'p>
impl<'p> Send for Ingress<'p>
impl<'p> Sync for Ingress<'p>
impl<'p> Unpin for Ingress<'p>
impl<'p> UnwindSafe for Ingress<'p>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)