Struct bonsaidb::local::argon2::AssociatedData
pub struct AssociatedData { /* private fields */ }
Expand description
Associated data
Implementations§
§impl AssociatedData
impl AssociatedData
pub fn new(slice: &[u8]) -> Result<AssociatedData, Error>
pub fn new(slice: &[u8]) -> Result<AssociatedData, Error>
Create a new AssociatedData from a slice.
pub const EMPTY: AssociatedData = _
pub const EMPTY: AssociatedData = _
Empty value.
pub fn from_b64(s: &str) -> Result<AssociatedData, Error>
pub fn from_b64(s: &str) -> Result<AssociatedData, Error>
Decode AssociatedData from a B64 string
Trait Implementations§
§impl AsRef<[u8]> for AssociatedData
impl AsRef<[u8]> for AssociatedData
§impl Clone for AssociatedData
impl Clone for AssociatedData
§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 more§impl Debug for AssociatedData
impl Debug for AssociatedData
§impl Default for AssociatedData
impl Default for AssociatedData
§fn default() -> AssociatedData
fn default() -> AssociatedData
Returns the “default value” for a type. Read more
§impl FromStr for AssociatedData
impl FromStr for AssociatedData
§impl Hash for AssociatedData
impl Hash for AssociatedData
§impl Ord for AssociatedData
impl Ord for AssociatedData
§impl PartialEq for AssociatedData
impl PartialEq for AssociatedData
§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 ==
.§impl PartialOrd for AssociatedData
impl PartialOrd for AssociatedData
§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 more§impl TryFrom<&[u8]> for AssociatedData
impl TryFrom<&[u8]> for AssociatedData
impl Copy for AssociatedData
impl Eq for AssociatedData
impl StructuralEq for AssociatedData
impl StructuralPartialEq for AssociatedData
Auto Trait Implementations§
impl RefUnwindSafe for AssociatedData
impl Send for AssociatedData
impl Sync for AssociatedData
impl Unpin for AssociatedData
impl UnwindSafe for AssociatedData
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> CallHasher for T
impl<T> CallHasher for T
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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
)