[][src]Struct networking::ArtificeHostData

pub struct ArtificeHostData { /* fields omitted */ }

provides a means of saving private keys to files, because the process of generating the keys takes a really long time, but creating them from existing values does not

Implementations

impl ArtificeHostData[src]

pub fn new(private_key: &RSAPrivateKey, global_peer_hash: &str) -> Self[src]

pub fn privkeycomp(&self) -> &PrivKeyComp[src]

returns the n, e, d, and primes of an RSA key

pub fn global_peer_hash(&self) -> &str[src]

Trait Implementations

impl Clone for ArtificeHostData[src]

impl Debug for ArtificeHostData[src]

impl Default for ArtificeHostData[src]

impl<'de> Deserialize<'de> for ArtificeHostData[src]

impl Eq for ArtificeHostData[src]

impl Ord for ArtificeHostData[src]

impl PartialEq<ArtificeHostData> for ArtificeHostData[src]

impl PartialOrd<ArtificeHostData> for ArtificeHostData[src]

impl Serialize for ArtificeHostData[src]

impl StructuralEq for ArtificeHostData[src]

impl StructuralPartialEq for ArtificeHostData[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<V> HashValue for V where
    V: 'static + Debug + Serialize + DeserializeOwned + Send + Clone + Sync
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,