pub struct SessionPump<T>where
T: Transport,{ /* private fields */ }Implementations§
Source§impl<T> SessionPump<T>where
T: Transport,
impl<T> SessionPump<T>where
T: Transport,
pub fn pump_once<B, A, H, S>( &mut self, server: &mut Server<B, A, H, S>, rx_buf: &mut [u8], ) -> Result<Vec<CoreDirective>>
Sourcepub fn transport_mut(&mut self) -> &mut T
pub fn transport_mut(&mut self) -> &mut T
Implements transport mut.
Auto Trait Implementations§
impl<T> Freeze for SessionPump<T>where
T: Freeze,
impl<T> RefUnwindSafe for SessionPump<T>where
T: RefUnwindSafe,
impl<T> Send for SessionPump<T>where
T: Send,
impl<T> Sync for SessionPump<T>where
T: Sync,
impl<T> Unpin for SessionPump<T>where
T: Unpin,
impl<T> UnsafeUnpin for SessionPump<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for SessionPump<T>where
T: UnwindSafe,
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