[][src]Struct casper_types::Secp256k1Bytes

pub struct Secp256k1Bytes(_);

Represents the bytes of a secp256k1 public key.

Implementations

impl Secp256k1Bytes[src]

pub fn value(self) -> [u8; 33][src]

Returns the underlying bytes.

Trait Implementations

impl AsRef<[u8]> for Secp256k1Bytes[src]

impl Clone for Secp256k1Bytes[src]

impl Copy for Secp256k1Bytes[src]

impl DataSize for Secp256k1Bytes[src]

impl Debug for Secp256k1Bytes[src]

impl Eq for Secp256k1Bytes[src]

impl From<[u8; 33]> for Secp256k1Bytes[src]

impl FromBytes for Secp256k1Bytes[src]

impl Ord for Secp256k1Bytes[src]

impl PartialEq<Secp256k1Bytes> for Secp256k1Bytes[src]

impl PartialOrd<Secp256k1Bytes> for Secp256k1Bytes[src]

impl ToBytes for Secp256k1Bytes[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.