[][src]Struct cjdns_keys::CJDNSPublicKey

pub struct CJDNSPublicKey { /* fields omitted */ }

CJDNS public key type

Implementations

impl CJDNSPublicKey[src]

pub const SIZE: usize[src]

Size in bytes of the public key

impl CJDNSPublicKey[src]

pub fn is_zero(&self) -> bool[src]

pub fn raw(&self) -> &[u8; 32][src]

Trait Implementations

impl Clone for CJDNSPublicKey[src]

impl Debug for CJDNSPublicKey[src]

impl Deref for CJDNSPublicKey[src]

type Target = [u8]

The resulting type after dereferencing.

impl Display for CJDNSPublicKey[src]

impl Eq for CJDNSPublicKey[src]

impl<'_> From<&'_ CJDNSPrivateKey> for CJDNSPublicKey[src]

impl From<[u8; 32]> for CJDNSPublicKey[src]

impl Hash for CJDNSPublicKey[src]

impl Ord for CJDNSPublicKey[src]

impl PartialEq<CJDNSPublicKey> for CJDNSPublicKey[src]

impl PartialOrd<CJDNSPublicKey> for CJDNSPublicKey[src]

impl StructuralEq for CJDNSPublicKey[src]

impl StructuralPartialEq for CJDNSPublicKey[src]

impl<'_> TryFrom<&'_ CJDNSPublicKey> for CJDNS_IP6[src]

type Error = KeyCreationError

The type returned in the event of a conversion error.

impl<'_> TryFrom<&'_ str> for CJDNSPublicKey[src]

type Error = KeyCreationError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for CJDNSPublicKey

impl Send for CJDNSPublicKey

impl Sync for CJDNSPublicKey

impl Unpin for CJDNSPublicKey

impl UnwindSafe for CJDNSPublicKey

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> 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.