pub struct Server<A, B>where
A: Fn(AuthToken, SocketAddr) -> bool + Sync + Send + Clone + 'static,
B: Fn(LogMessage, SocketAddr) -> Status + Sync + Send + Clone + 'static,{ /* private fields */ }Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<A, B> Freeze for Server<A, B>
impl<A, B> RefUnwindSafe for Server<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Server<A, B>
impl<A, B> Sync for Server<A, B>
impl<A, B> Unpin for Server<A, B>
impl<A, B> UnwindSafe for Server<A, B>where
A: UnwindSafe,
B: 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