pub enum Never {}Expand description
Uninhabited session used by generated applications with no duplex routes.
Trait Implementations§
Source§impl<'d> Session<'d> for Never
impl<'d> Session<'d> for Never
fn receive( &mut self, _: Segments<'d>, _: &mut [u8], _: &mut Vec<u8>, ) -> (usize, Action<'d>)
Source§fn finish(&mut self, _: &mut [u8], _: &mut Vec<u8>) -> (usize, Action<'d>)
fn finish(&mut self, _: &mut [u8], _: &mut Vec<u8>) -> (usize, Action<'d>)
Observes the peer’s orderly end of the input direction exactly once.
fn activate(&mut self, _: &mut [u8], _: &mut Vec<u8>) -> (usize, Action<'d>)
Auto Trait Implementations§
impl Forget for Never
impl Freeze for Never
impl RefUnwindSafe for Never
impl Send for Never
impl Sync for Never
impl Unpin for Never
impl UnsafeUnpin for Never
impl UnwindSafe for Never
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