[][src]Struct domain::rdata::rfc2782::Srv

pub struct Srv<N> { /* fields omitted */ }

Implementations

impl<N> Srv<N>[src]

pub const RTYPE: Rtype[src]

pub fn new(priority: u16, weight: u16, port: u16, target: N) -> Self[src]

pub fn into_target(self) -> N[src]

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

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

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

pub fn target(&self) -> &N[src]

Trait Implementations

impl<N: ToDname, NN: ToDname> CanonicalOrd<Srv<NN>> for Srv<N>[src]

impl<N: Clone> Clone for Srv<N>[src]

impl<N: Compose> Compose for Srv<N>[src]

impl<N: Debug> Debug for Srv<N>[src]

impl<N: Display> Display for Srv<N>[src]

impl<N: ToDname> Eq for Srv<N>[src]

impl<O, N> From<Srv<N>> for MasterRecordData<O, N>[src]

impl<O, N> From<Srv<N>> for AllRecordData<O, N>[src]

impl<N: Hash> Hash for Srv<N>[src]

impl<N: ToDname> Ord for Srv<N>[src]

impl<Ref: OctetsRef> Parse<Ref> for Srv<ParsedDname<Ref>>[src]

impl<N, NN> PartialEq<Srv<NN>> for Srv<N> where
    N: ToDname,
    NN: ToDname
[src]

impl<N, NN> PartialOrd<Srv<NN>> for Srv<N> where
    N: ToDname,
    NN: ToDname
[src]

impl<N> RtypeRecordData for Srv<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for Srv<N> where
    N: RefUnwindSafe

impl<N> Send for Srv<N> where
    N: Send

impl<N> Sync for Srv<N> where
    N: Sync

impl<N> Unpin for Srv<N> where
    N: Unpin

impl<N> UnwindSafe for Srv<N> where
    N: UnwindSafe

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<Octets, T> ParseRecordData<Octets> for T where
    T: RtypeRecordData + Parse<Octets> + Compose
[src]

impl<T> RecordData for T where
    T: Compose + RtypeRecordData
[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.

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