Struct ockam_channel::SecureChannelListener [−][src]
pub struct SecureChannelListener<V: SecureChannelVault, N: SecureChannelNewKeyExchanger> { /* fields omitted */ }
Expand description
SecureChannelListener listens for messages from SecureChannel initiators and creates responder SecureChannels
Implementations
Trait Implementations
impl<V: SecureChannelVault, N: SecureChannelNewKeyExchanger> Worker for SecureChannelListener<V, N>
impl<V: SecureChannelVault, N: SecureChannelNewKeyExchanger> Worker for SecureChannelListener<V, N>
The type of Message the Worker is sent in Self::handle_message
The API and other resources available for the worker during message processing.
Try to open and handle a typed message
Override initialisation behaviour
Auto Trait Implementations
impl<V, N> RefUnwindSafe for SecureChannelListener<V, N> where
N: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, N> Send for SecureChannelListener<V, N>
impl<V, N> Sync for SecureChannelListener<V, N> where
N: Sync,
V: Sync,
impl<V, N> Unpin for SecureChannelListener<V, N> where
N: Unpin,
V: Unpin,
impl<V, N> UnwindSafe for SecureChannelListener<V, N> where
N: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more