Struct mongodb::options::StreamAddress [−][src]
Expand description
A hostname:port address pair.
Fields
hostname: String
The hostname of the address.
port: Option<u16>
The port of the address.
The default is 27017.
Implementations
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for StreamAddress
impl Send for StreamAddress
impl Sync for StreamAddress
impl Unpin for StreamAddress
impl UnwindSafe for StreamAddress
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more