Struct tinychain::scalar::link::LinkHost[][src]

pub struct LinkHost { /* fields omitted */ }

Implementations

impl LinkHost[src]

pub fn new(
    protocol: LinkProtocol,
    address: LinkAddress,
    port: Option<u16>
) -> LinkHost
[src]

pub fn address(&self) -> &LinkAddress[src]

pub fn authority(&self) -> String[src]

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

pub fn protocol(&self) -> &LinkProtocol[src]

Trait Implementations

impl Clone for LinkHost[src]

impl Debug for LinkHost[src]

impl Display for LinkHost[src]

impl Eq for LinkHost[src]

impl<A> From<(A, u16)> for LinkHost where
    A: Into<LinkAddress>, 
[src]

impl<A> From<(LinkProtocol, A, Option<u16>)> for LinkHost where
    A: Into<LinkAddress>, 
[src]

impl From<LinkHost> for Link[src]

impl FromStr for LinkHost[src]

type Err = TCError

The associated error which can be returned from parsing.

impl Hash for LinkHost[src]

impl PartialEq<LinkHost> for LinkHost[src]

impl StructuralEq for LinkHost[src]

impl StructuralPartialEq for LinkHost[src]

impl TryFrom<Link> for LinkHost[src]

type Error = TCError

The type returned in the event of a conversion error.

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<F, T> CastFrom<F> for T where
    T: From<F>, 
[src]

impl<T, F> CastInto<F> for T where
    F: CastFrom<T>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<F> Match for F[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> ToString for T where
    T: Display + ?Sized
[src]

impl<F, T> TryCastFrom<F> for T where
    T: CastFrom<F>, 
[src]

impl<F, T> TryCastInto<T> for F where
    T: TryCastFrom<F>, 
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,