[][src]Struct forest_address::BLSPublicKey

pub struct BLSPublicKey(pub [u8; 48]);

Public key struct used as BLS Address data. This type is only needed to be able to implement traits on it due to limitations on arrays within Rust that are greater than 32 length. Can be dereferenced into [u8; 48].

Trait Implementations

impl Clone for BLSPublicKey[src]

impl Copy for BLSPublicKey[src]

impl Debug for BLSPublicKey[src]

impl Deref for BLSPublicKey[src]

type Target = [u8; 48]

The resulting type after dereferencing.

impl Eq for BLSPublicKey[src]

impl From<[u8; 48]> for BLSPublicKey[src]

impl Hash for BLSPublicKey[src]

impl PartialEq<BLSPublicKey> for BLSPublicKey[src]

Auto Trait Implementations

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> From<T> for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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

type Owned = T

The resulting type after obtaining ownership.

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.