pub enum MetadataUpdates {
Disconnected,
TcpConnected,
FailedToConnect,
AuthenticationMessageSent,
Authenticated {
connections_available: i32,
connection_id: Option<String>,
},
FailedToAuthenticate,
}Expand description
Represents various metadata updates related to the connection state.
Variants§
Disconnected
Indicates disconnection.
TcpConnected
Indicates TCP connection established.
FailedToConnect
Indicates failure to connect.
AuthenticationMessageSent
Indicates authentication message sent.
Authenticated
Indicates successful authentication.
Fields
FailedToAuthenticate
Indicates failure to authenticate.
Trait Implementations§
Source§impl Clone for MetadataUpdates
impl Clone for MetadataUpdates
Source§fn clone(&self) -> MetadataUpdates
fn clone(&self) -> MetadataUpdates
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MetadataUpdates
impl RefUnwindSafe for MetadataUpdates
impl Send for MetadataUpdates
impl Sync for MetadataUpdates
impl Unpin for MetadataUpdates
impl UnwindSafe for MetadataUpdates
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