pub struct NoEncryption;Expand description
Zero-sized stub for any future engine that genuinely cannot wire real
encryption. Both shipped engines (TokioEngine and
[MoonpoolEngine]) now resolve their MessageEncryptorApi::Encryptor
/ MessageDecryptorApi::Decryptor to their own runtime’s
Arc<dyn …MessageEncryptor> / …MessageDecryptor, so NoEncryption
is no longer used by either. It is retained as the documented opt-out
type an engine can hand to the façade to signal “encryption not
supported on this engine” — the builders’ generic .create() /
.subscribe() paths ignore the encryptor field regardless.
Trait Implementations§
Source§impl Clone for NoEncryption
impl Clone for NoEncryption
Source§fn clone(&self) -> NoEncryption
fn clone(&self) -> NoEncryption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NoEncryption
Source§impl Debug for NoEncryption
impl Debug for NoEncryption
Source§impl Default for NoEncryption
impl Default for NoEncryption
Source§fn default() -> NoEncryption
fn default() -> NoEncryption
Returns the “default value” for a type. Read more
impl Eq for NoEncryption
Source§impl PartialEq for NoEncryption
impl PartialEq for NoEncryption
impl StructuralPartialEq for NoEncryption
Auto Trait Implementations§
impl Freeze for NoEncryption
impl RefUnwindSafe for NoEncryption
impl Send for NoEncryption
impl Sync for NoEncryption
impl Unpin for NoEncryption
impl UnsafeUnpin for NoEncryption
impl UnwindSafe for NoEncryption
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