Struct simple_dns::rdata::SRV
source · [−]Expand description
SRV records specifies the location of the server(s) for a specific protocol and domain.
Fields
priority: u16The priority of this target host.
A client MUST attempt to contact the target host with the lowest-numbered priority it can
reach; target hosts with the same priority SHOULD be tried in an order defined by the weight field.
weight: u16A server selection mechanism.
The weight field specifies arelative weight for entries with the same priority.
Larger weights SHOULD be given a proportionately higher probability of being selected.
port: u16The port on this target host of this service
target: Name<'a>The domain name of the target host
Implementations
Transforms the inner data into it’s owned type
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SRV<'a>
impl<'a> UnwindSafe for SRV<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more