Struct holo_hash::hash_b64::HoloHashB64[][src]

pub struct HoloHashB64<T: HashType>(_);

A wrapper around HoloHash to denote that deserialization should use base-64 strings rather than raw byte arrays

Implementations

impl<T: HashType> HoloHashB64<T>[src]

pub fn new(__0: HoloHash<T>) -> HoloHashB64<T>[src]

impl<T: HashType> HoloHashB64<T>[src]

pub fn from_b64_str(str: &str) -> HoloHashResult<Self>[src]

Read a HoloHash from base64 string

Trait Implementations

impl<T: HashType> AsRef<HoloHash<T>> for HoloHashB64<T>[src]

impl<T: Clone + HashType> Clone for HoloHashB64<T>[src]

impl<T: Debug + HashType> Debug for HoloHashB64<T>[src]

impl<'de, T: HashType> Deserialize<'de> for HoloHashB64<T> where
    T: Deserialize<'de>, 
[src]

impl<T: HashType> Display for HoloHashB64<T> where
    HoloHash<T>: Display
[src]

impl<T: Eq + HashType> Eq for HoloHashB64<T>[src]

impl<T: HashType> From<HoloHash<T>> for HoloHashB64<T>[src]

impl<T: HashType> From<HoloHashB64<T>> for HoloHash<T>[src]

impl<T: Hash + HashType> Hash for HoloHashB64<T>[src]

impl<T: Ord + HashType> Ord for HoloHashB64<T>[src]

impl<T: PartialEq + HashType> PartialEq<HoloHashB64<T>> for HoloHashB64<T>[src]

impl<T: PartialOrd + HashType> PartialOrd<HoloHashB64<T>> for HoloHashB64<T>[src]

impl<T: HashType> Serialize for HoloHashB64<T>[src]

impl<T: HashType> StructuralEq for HoloHashB64<T>[src]

impl<T: HashType> StructuralPartialEq for HoloHashB64<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for HoloHashB64<T> where
    T: RefUnwindSafe

impl<T> Send for HoloHashB64<T> where
    T: Send

impl<T> Sync for HoloHashB64<T> where
    T: Sync

impl<T> Unpin for HoloHashB64<T> where
    T: Unpin

impl<T> UnwindSafe for HoloHashB64<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,