pub struct ResolvedSrvItem { /* private fields */ }
Expand description
An SRV record which has itself been resolved into a SocketAddr
.
Implementations§
source§impl ResolvedSrvItem
impl ResolvedSrvItem
sourcepub fn resolved(&self) -> &[SocketAddr]
pub fn resolved(&self) -> &[SocketAddr]
Returns the resolved address for this record.
Methods from Deref<Target = Srv<Name<SmallOctets>>>§
Trait Implementations§
source§impl Clone for ResolvedSrvItem
impl Clone for ResolvedSrvItem
source§fn clone(&self) -> ResolvedSrvItem
fn clone(&self) -> ResolvedSrvItem
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ResolvedSrvItem
impl Debug for ResolvedSrvItem
Auto Trait Implementations§
impl Freeze for ResolvedSrvItem
impl RefUnwindSafe for ResolvedSrvItem
impl Send for ResolvedSrvItem
impl Sync for ResolvedSrvItem
impl Unpin for ResolvedSrvItem
impl UnwindSafe for ResolvedSrvItem
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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.