pub struct ConnectionNotice {
pub host: String,
pub port: u16,
pub subscriber: bool,
}Expand description
A command or subscriber socket dropped, or came back.
Fields§
§host: String§port: u16§subscriber: boolTrue when the socket is the dedicated Pub/Sub connection.
Trait Implementations§
Source§impl Clone for ConnectionNotice
impl Clone for ConnectionNotice
Source§impl Debug for ConnectionNotice
impl Debug for ConnectionNotice
impl Eq for ConnectionNotice
Source§impl PartialEq for ConnectionNotice
impl PartialEq for ConnectionNotice
impl StructuralPartialEq for ConnectionNotice
Auto Trait Implementations§
impl Freeze for ConnectionNotice
impl RefUnwindSafe for ConnectionNotice
impl Send for ConnectionNotice
impl Sync for ConnectionNotice
impl Unpin for ConnectionNotice
impl UnsafeUnpin for ConnectionNotice
impl UnwindSafe for ConnectionNotice
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