[][src]Struct lib3h_protocol::data_types::BootstrapData

pub struct BootstrapData {
    pub network_or_space_address: Address,
    pub bootstrap_uri: Lib3hUri,
}

Normally we do peer discovery using the dht but when we're first starting out, we might need explicit info or on auto-discovery, such as mDNS

Fields

network_or_space_address: Address

either the network layer network_id, or the dna hash

bootstrap_uri: Lib3hUri

connection uri, such as wss://1.2.3.4:55888?a=HcMyada nodepubkey:HcMyada?a=HcSagent

Trait Implementations

impl Clone for BootstrapData[src]

impl Debug for BootstrapData[src]

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

impl PartialEq<BootstrapData> for BootstrapData[src]

impl Serialize for BootstrapData[src]

impl StructuralPartialEq for BootstrapData[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> Clone for T where
    T: Clone
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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.

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