pub struct Server<B, A, H, S>{ /* private fields */ }Implementations§
Source§impl<B, A, H, S> Server<B, A, H, S>
impl<B, A, H, S> Server<B, A, H, S>
Sourcepub fn state(&self) -> ConnectionState
pub fn state(&self) -> ConnectionState
Implements state.
Sourcepub fn ingest_packet(&mut self, packet: &[u8]) -> Result<Vec<CoreDirective>>
pub fn ingest_packet(&mut self, packet: &[u8]) -> Result<Vec<CoreDirective>>
Implements ingest packet.
Auto Trait Implementations§
impl<B, A, H, S> Freeze for Server<B, A, H, S>
impl<B, A, H, S> RefUnwindSafe for Server<B, A, H, S>
impl<B, A, H, S> Send for Server<B, A, H, S>
impl<B, A, H, S> Sync for Server<B, A, H, S>
impl<B, A, H, S> Unpin for Server<B, A, H, S>
impl<B, A, H, S> UnsafeUnpin for Server<B, A, H, S>
impl<B, A, H, S> UnwindSafe for Server<B, A, H, S>
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