pub enum NoAlgorithms {}Expand description
Type which an implementation of Cal can use when it implements no algorithm for a
particular provider.
This type is uninhabited and can stand in for all of the Algorithm associated types as well
as state and result types.
Trait Implementations§
Source§impl AeadAlgorithm for NoAlgorithms
impl AeadAlgorithm for NoAlgorithms
Source§fn key_length(&self) -> usize
fn key_length(&self) -> usize
Length of a key in bytes.
Source§fn tag_length(&self) -> usize
fn tag_length(&self) -> usize
Length of the cryptographic tag in bytes.
Source§fn nonce_length(&self) -> usize
fn nonce_length(&self) -> usize
Length of the nonce (called IV in some algorithms) in bytes.
Source§impl AsRef<[u8]> for NoAlgorithms
impl AsRef<[u8]> for NoAlgorithms
Source§impl Clone for NoAlgorithms
impl Clone for NoAlgorithms
Source§impl Debug for NoAlgorithms
impl Debug for NoAlgorithms
Source§impl DhAlgorithm for NoAlgorithms
impl DhAlgorithm for NoAlgorithms
impl Eq for NoAlgorithms
Source§impl HashAlgorithm for NoAlgorithms
impl HashAlgorithm for NoAlgorithms
Source§impl HmacAlgorithm for NoAlgorithms
impl HmacAlgorithm for NoAlgorithms
Source§impl PartialEq for NoAlgorithms
impl PartialEq for NoAlgorithms
impl StructuralPartialEq for NoAlgorithms
Auto Trait Implementations§
impl Freeze for NoAlgorithms
impl RefUnwindSafe for NoAlgorithms
impl Send for NoAlgorithms
impl Sync for NoAlgorithms
impl Unpin for NoAlgorithms
impl UnsafeUnpin for NoAlgorithms
impl UnwindSafe for NoAlgorithms
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