Struct ockam_channel::SecureChannelWorker [−][src]
pub struct SecureChannelWorker<V: SecureChannelVault, K: KeyExchanger + Send + 'static> { /* 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
impl<V: SecureChannelVault, K: KeyExchanger + Send + 'static> Worker for SecureChannelWorker<V, K>
impl<V: SecureChannelVault, K: KeyExchanger + Send + 'static> Worker for SecureChannelWorker<V, K>
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> where
K: Sync,
V: Sync,
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,