[][src]Struct rust_ipv8::crypto::signature::Signature

#[repr(transparent)]
pub struct Signature(pub [u8; 64]);

A struct wrapping the 64 bytes of a Signature

Methods

impl Signature[src]

pub const ED25519_SIGNATURE_BYTES: usize[src]

A constant defining the length of an Ed25519 signature

Trait Implementations

impl Ipv8Payload for Signature[src]

impl Serialize for Signature[src]

impl AsBytes for Signature[src]

fn as_bytes(&self) -> &[u8][src]

Get the bytes of this value. Read more

fn as_bytes_mut(&mut self) -> &mut [u8] where
    Self: FromBytes
[src]

Get the bytes of this value mutably. Read more

impl FromBytes for Signature[src]

Auto Trait Implementations

impl Unpin for Signature

impl Sync for Signature

impl Send for Signature

impl RefUnwindSafe for Signature

impl UnwindSafe for Signature

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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<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]