Struct mhost::resources::rdata::SRV[][src]

pub struct SRV { /* fields omitted */ }

Implementations

impl SRV[src]

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

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

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

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

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

Trait Implementations

impl Clone for SRV[src]

impl Debug for SRV[src]

impl Differ for SRV[src]

type FieldType = Field

impl Eq for SRV[src]

impl Hash for SRV[src]

impl PartialEq<SRV> for SRV[src]

impl Serialize for SRV[src]

impl StructuralEq for SRV[src]

impl StructuralPartialEq for SRV[src]

Auto Trait Implementations

impl RefUnwindSafe for SRV

impl Send for SRV

impl Sync for SRV

impl Unpin for SRV

impl UnwindSafe for SRV

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<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> Instrument for T[src]

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

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>, 

impl<T> WithSubscriber for T[src]