Struct mongodb::options::StreamAddress [−][src]
👎 Deprecated:
This type has been renamed to ServerAddress
and will be removed in the 2.0.0 stable release
Expand description
A hostname:port address pair.
Fields
hostname: String
👎 Deprecated:
This type has been renamed to ServerAddress
and will be removed in the 2.0.0 stable release
The hostname of the address.
port: Option<u16>
👎 Deprecated:
This type has been renamed to ServerAddress
and will be removed in the 2.0.0 stable release
The port of the address.
The default is 27017.
Trait Implementations
Performs the conversion.
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
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V