Struct ockam_channel::SecureChannelWorker [−][src]
pub struct SecureChannelWorker<V: SecureChannelVault, K: SecureChannelKeyExchanger> { /* fields omitted */ }
Expand description
SecureChannel is an abstraction responsible for sending messages (usually over the network) in encrypted and authenticated way. SecureChannel always has two ends: initiator and responder.
Trait Implementations
The type of Message the Worker is sent in Self::handle_message
The API and other resources available for the worker during message processing.
Override initialisation behaviour
Try to open and handle a typed message
Auto Trait Implementations
impl<V, K> RefUnwindSafe for SecureChannelWorker<V, K> where
K: RefUnwindSafe,
V: RefUnwindSafe,
impl<V, K> Send for SecureChannelWorker<V, K>
impl<V, K> Sync for SecureChannelWorker<V, K>
impl<V, K> Unpin for SecureChannelWorker<V, K> where
K: Unpin,
V: Unpin,
impl<V, K> UnwindSafe for SecureChannelWorker<V, K> where
K: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. 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