pub struct SrvItem { /* private fields */ }
Implementations§
Methods from Deref<Target = Srv<Dname<SmallOctets>>>§
pub const RTYPE: Rtype = Rtype::Srv
pub fn priority(&self) -> u16
pub fn weight(&self) -> u16
pub fn port(&self) -> u16
pub fn target(&self) -> &N
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SrvItem
impl RefUnwindSafe for SrvItem
impl Send for SrvItem
impl Sync for SrvItem
impl Unpin for SrvItem
impl UnwindSafe for SrvItem
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
impl<Source, Target> OctetsInto<Target> for Sourcewhere
Target: OctetsFrom<Source>,
type Error = <Target as OctetsFrom<Source>>::Error
source§fn try_octets_into(
self,
) -> Result<Target, <Source as OctetsInto<Target>>::Error>
fn try_octets_into( self, ) -> Result<Target, <Source as OctetsInto<Target>>::Error>
Performs the conversion.
source§fn octets_into(self) -> Target
fn octets_into(self) -> Target
Performs an infallible conversion.