pub enum ConnectionStateChange {
BindComplete,
ConnectionReady,
ClogClear,
ReadClogClear,
CutRestore,
PartitionRestore,
SendPartitionClear,
RecvPartitionClear,
HalfOpenError,
}Expand description
Connection state changes
Variants§
BindComplete
Listener bind operation completed
ConnectionReady
Connection establishment completed
ClogClear
Clear write clog for a connection
ReadClogClear
Clear read clog for a connection
CutRestore
Restore a temporarily cut connection
PartitionRestore
Restore network partition between IPs
SendPartitionClear
Clear send partition for an IP
RecvPartitionClear
Clear receive partition for an IP
HalfOpenError
Half-open connection starts returning errors
Trait Implementations§
Source§impl Clone for ConnectionStateChange
impl Clone for ConnectionStateChange
Source§fn clone(&self) -> ConnectionStateChange
fn clone(&self) -> ConnectionStateChange
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConnectionStateChange
impl Debug for ConnectionStateChange
Source§impl PartialEq for ConnectionStateChange
impl PartialEq for ConnectionStateChange
impl Eq for ConnectionStateChange
impl StructuralPartialEq for ConnectionStateChange
Auto Trait Implementations§
impl Freeze for ConnectionStateChange
impl RefUnwindSafe for ConnectionStateChange
impl Send for ConnectionStateChange
impl Sync for ConnectionStateChange
impl Unpin for ConnectionStateChange
impl UnwindSafe for ConnectionStateChange
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)