Struct mongodb::event::sdam::ServerHeartbeatFailedEvent [−][src]
#[non_exhaustive]pub struct ServerHeartbeatFailedEvent {
pub duration: Duration,
pub failure: Error,
pub server_address: ServerAddress,
}
Expand description
Published when a server monitor’s hello
or legacy hello command fails.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.duration: Duration
The execution time of the event.
failure: Error
The failure that occurred.
server_address: ServerAddress
The address of the server.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for ServerHeartbeatFailedEvent
impl Send for ServerHeartbeatFailedEvent
impl Sync for ServerHeartbeatFailedEvent
impl Unpin for ServerHeartbeatFailedEvent
impl !UnwindSafe for ServerHeartbeatFailedEvent
Blanket Implementations
Mutably borrows from an owned value. Read more