[][src]Struct nimiq_keys::Signature

pub struct Signature(_);

Methods

impl Signature[src]

pub const SIZE: usize[src]

pub fn to_bytes(&self) -> [u8; 64][src]

pub fn from_bytes(bytes: &[u8]) -> Result<Self, KeysError>[src]

Trait Implementations

impl<'a> From<&'a [u8; 64]> for Signature[src]

impl From<[u8; 64]> for Signature[src]

impl Clone for Signature[src]

impl Eq for Signature[src]

impl PartialEq<Signature> for Signature[src]

impl Debug for Signature[src]

impl Serialize for Signature[src]

impl Deserialize for Signature[src]

impl FromHex for Signature[src]

type Error = ParseError

Auto Trait Implementations

Blanket Implementations

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

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self