pub struct Server<T: Transport, P> { /* private fields */ }
Expand description
A storngly typed protocol server.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T, P> Freeze for Server<T, P>
impl<T, P> RefUnwindSafe for Server<T, P>
impl<T, P> Send for Server<T, P>where
P: Send,
impl<T, P> Sync for Server<T, P>
impl<T, P> Unpin for Server<T, P>
impl<T, P> UnwindSafe for Server<T, P>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)