[][src]Struct networking::ArtificeConfig

pub struct ArtificeConfig { /* fields omitted */ }

used to build and configure the local host

Implementations

impl ArtificeConfig[src]

pub fn new(
    addr: Layer3SocketAddr,
    host: ArtificeHostData,
    broadcast: bool
) -> Self
[src]

pub fn generate(addr: Layer3SocketAddr) -> Self[src]

used to create new host, primarily designed for use by the installer crate

pub fn host_data(&self) -> &ArtificeHostData[src]

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

pub fn port(&self) -> u16[src]

pub fn addr(&self) -> Layer3Addr[src]

pub fn socket_addr(&self) -> Layer3SocketAddr[src]

pub fn set_socket_addr(&mut self, addr: SocketAddr)[src]

Trait Implementations

impl Clone for ArtificeConfig[src]

impl Debug for ArtificeConfig[src]

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

impl Eq for ArtificeConfig[src]

impl Ord for ArtificeConfig[src]

impl PartialEq<ArtificeConfig> for ArtificeConfig[src]

impl PartialOrd<ArtificeConfig> for ArtificeConfig[src]

impl Serialize for ArtificeConfig[src]

impl StructuralEq for ArtificeConfig[src]

impl StructuralPartialEq for ArtificeConfig[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>,