Struct Fingerprint
pub struct Fingerprint(/* private fields */);
Expand description
A fingerprint
Implementations§
§impl Fingerprint
impl Fingerprint
pub fn as_mut_ptr(&mut self) -> *mut u8
pub fn as_mut_ptr(&mut self) -> *mut u8
Converts the object to a mutable raw pointer.
§impl Fingerprint
impl Fingerprint
Trait Implementations§
§impl AsMut<[u8]> for Fingerprint
impl AsMut<[u8]> for Fingerprint
§impl AsMut<[u8; 4]> for Fingerprint
impl AsMut<[u8; 4]> for Fingerprint
§impl AsRef<[u8]> for Fingerprint
impl AsRef<[u8]> for Fingerprint
§impl AsRef<[u8; 4]> for Fingerprint
impl AsRef<[u8; 4]> for Fingerprint
§impl Borrow<[u8]> for Fingerprint
impl Borrow<[u8]> for Fingerprint
§impl Borrow<[u8; 4]> for Fingerprint
impl Borrow<[u8; 4]> for Fingerprint
§impl BorrowMut<[u8]> for Fingerprint
impl BorrowMut<[u8]> for Fingerprint
§fn borrow_mut(&mut self) -> &mut [u8] ⓘ
fn borrow_mut(&mut self) -> &mut [u8] ⓘ
Mutably borrows from an owned value. Read more
§impl BorrowMut<[u8; 4]> for Fingerprint
impl BorrowMut<[u8; 4]> for Fingerprint
§fn borrow_mut(&mut self) -> &mut [u8; 4]
fn borrow_mut(&mut self) -> &mut [u8; 4]
Mutably borrows from an owned value. Read more
§impl Clone for Fingerprint
impl Clone for Fingerprint
§fn clone(&self) -> Fingerprint
fn clone(&self) -> Fingerprint
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 Fingerprint
impl Debug for Fingerprint
§impl Default for Fingerprint
impl Default for Fingerprint
§fn default() -> Fingerprint
fn default() -> Fingerprint
Returns the “default value” for a type. Read more
§impl<'de> Deserialize<'de> for Fingerprint
impl<'de> Deserialize<'de> for Fingerprint
§fn deserialize<D>(d: D) -> Result<Fingerprint, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(d: D) -> Result<Fingerprint, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for Fingerprint
impl Display for Fingerprint
§impl<'a> From<&'a [u8; 4]> for Fingerprint
impl<'a> From<&'a [u8; 4]> for Fingerprint
§fn from(data: &'a [u8; 4]) -> Fingerprint
fn from(data: &'a [u8; 4]) -> Fingerprint
Converts to this type from the input type.
§impl<'a> From<[u8; 4]> for Fingerprint
impl<'a> From<[u8; 4]> for Fingerprint
§fn from(data: [u8; 4]) -> Fingerprint
fn from(data: [u8; 4]) -> Fingerprint
Converts to this type from the input type.
§impl FromStr for Fingerprint
impl FromStr for Fingerprint
§type Err = HexToArrayError
type Err = HexToArrayError
The associated error which can be returned from parsing.
§fn from_str(s: &str) -> Result<Fingerprint, <Fingerprint as FromStr>::Err>
fn from_str(s: &str) -> Result<Fingerprint, <Fingerprint as FromStr>::Err>
Parses a string
s
to return a value of this type. Read more§impl Hash for Fingerprint
impl Hash for Fingerprint
§impl<I> Index<I> for Fingerprint
impl<I> Index<I> for Fingerprint
§impl LowerHex for Fingerprint
impl LowerHex for Fingerprint
§impl Ord for Fingerprint
impl Ord for Fingerprint
§impl PartialEq for Fingerprint
impl PartialEq for Fingerprint
§impl PartialOrd for Fingerprint
impl PartialOrd for Fingerprint
§impl Serialize for Fingerprint
impl Serialize for Fingerprint
§fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
s: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
§impl<'a> TryFrom<&'a [u8]> for Fingerprint
impl<'a> TryFrom<&'a [u8]> for Fingerprint
§type Error = TryFromSliceError
type Error = TryFromSliceError
The type returned in the event of a conversion error.
§fn try_from(
data: &'a [u8],
) -> Result<Fingerprint, <Fingerprint as TryFrom<&'a [u8]>>::Error>
fn try_from( data: &'a [u8], ) -> Result<Fingerprint, <Fingerprint as TryFrom<&'a [u8]>>::Error>
Performs the conversion.
§impl UpperHex for Fingerprint
impl UpperHex for Fingerprint
impl Copy for Fingerprint
impl Eq for Fingerprint
impl StructuralPartialEq for Fingerprint
Auto Trait Implementations§
impl Freeze for Fingerprint
impl RefUnwindSafe for Fingerprint
impl Send for Fingerprint
impl Sync for Fingerprint
impl Unpin for Fingerprint
impl UnwindSafe for Fingerprint
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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