pub struct NodeHandlerWrapperBuilder<TIntoProtoHandler> { /* private fields */ }
Expand description
Prototype for a NodeHandlerWrapper
.
Trait Implementations
sourceimpl<TIntoProtoHandler, TProtoHandler> IntoConnectionHandler for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: IntoProtocolsHandler<Handler = TProtoHandler>,
TProtoHandler: ProtocolsHandler,
impl<TIntoProtoHandler, TProtoHandler> IntoConnectionHandler for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: IntoProtocolsHandler<Handler = TProtoHandler>,
TProtoHandler: ProtocolsHandler,
type Handler = NodeHandlerWrapper<TIntoProtoHandler::Handler>
type Handler = NodeHandlerWrapper<TIntoProtoHandler::Handler>
The node handler.
sourcefn into_handler(self, connected: &Connected) -> Self::Handler
fn into_handler(self, connected: &Connected) -> Self::Handler
Builds the node handler. Read more
Auto Trait Implementations
impl<TIntoProtoHandler> RefUnwindSafe for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: RefUnwindSafe,
impl<TIntoProtoHandler> Send for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: Send,
impl<TIntoProtoHandler> Sync for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: Sync,
impl<TIntoProtoHandler> Unpin for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: Unpin,
impl<TIntoProtoHandler> UnwindSafe for NodeHandlerWrapperBuilder<TIntoProtoHandler> where
TIntoProtoHandler: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more