pub struct ServiceData {
pub priority: u16,
pub weight: u16,
pub port: u16,
}Expand description
Decoded fields from SRV rdata.
Fields§
§priority: u16The priority of this target host.
weight: u16A server selection mechanism.
port: u16The port on this target host of this service.
Trait Implementations§
Source§impl Debug for ServiceData
impl Debug for ServiceData
Source§impl Format for ServiceData
impl Format for ServiceData
Source§impl PartialEq for ServiceData
impl PartialEq for ServiceData
impl Eq for ServiceData
impl StructuralPartialEq for ServiceData
Auto Trait Implementations§
impl Freeze for ServiceData
impl RefUnwindSafe for ServiceData
impl Send for ServiceData
impl Sync for ServiceData
impl Unpin for ServiceData
impl UnwindSafe for ServiceData
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