Struct prople_crypto::external::crypto::argon2::AssociatedData
source · pub struct AssociatedData { /* private fields */ }Expand description
Associated data
Implementations§
source§impl AssociatedData
impl AssociatedData
sourcepub fn new(slice: &[u8]) -> Result<AssociatedData, Error>
pub fn new(slice: &[u8]) -> Result<AssociatedData, Error>
Create a new AssociatedData from a slice.
sourcepub const EMPTY: AssociatedData = _
pub const EMPTY: AssociatedData = _
Empty value.
Trait Implementations§
source§impl AsRef<[u8]> for AssociatedData
impl AsRef<[u8]> for AssociatedData
source§impl Clone for AssociatedData
impl Clone for AssociatedData
source§fn clone(&self) -> AssociatedData
fn clone(&self) -> AssociatedData
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AssociatedData
impl Debug for AssociatedData
source§impl Default for AssociatedData
impl Default for AssociatedData
source§fn default() -> AssociatedData
fn default() -> AssociatedData
Returns the “default value” for a type. Read more
source§impl FromStr for AssociatedData
impl FromStr for AssociatedData
source§impl Hash for AssociatedData
impl Hash for AssociatedData
source§impl Ord for AssociatedData
impl Ord for AssociatedData
source§fn cmp(&self, other: &AssociatedData) -> Ordering
fn cmp(&self, other: &AssociatedData) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for AssociatedData
impl PartialEq for AssociatedData
source§fn eq(&self, other: &AssociatedData) -> bool
fn eq(&self, other: &AssociatedData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for AssociatedData
impl PartialOrd for AssociatedData
source§fn partial_cmp(&self, other: &AssociatedData) -> Option<Ordering>
fn partial_cmp(&self, other: &AssociatedData) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl TryFrom<&[u8]> for AssociatedData
impl TryFrom<&[u8]> for AssociatedData
impl Copy for AssociatedData
impl Eq for AssociatedData
impl StructuralPartialEq for AssociatedData
Auto Trait Implementations§
impl Freeze for AssociatedData
impl RefUnwindSafe for AssociatedData
impl Send for AssociatedData
impl Sync for AssociatedData
impl Unpin for AssociatedData
impl UnwindSafe for AssociatedData
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
source§impl<T> ToHex for T
impl<T> ToHex for T
source§fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Lower case
letters are used (e.g. f9b4ca)source§fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
fn encode_hex_upper<U>(&self) -> Uwhere
U: FromIterator<char>,
Encode the hex strict representing
self into the result. Upper case
letters are used (e.g. F9B4CA)