pub struct ShutdownStatus {
pub disconnect_sent: bool,
pub clean: bool,
}Expand description
Describes the state in which the client’s transceiver task finished.
Fields§
§disconnect_sent: boolIf this value is true, then the DISCONNECT packet has successfully
been sent, and it’s very unlikely that the last will message has been
sent.
clean: boolIf this value is true, everything is proceeding as I have forseen and the connection has been closed cleanly.
Trait Implementations§
Source§impl Clone for ShutdownStatus
impl Clone for ShutdownStatus
Source§fn clone(&self) -> ShutdownStatus
fn clone(&self) -> ShutdownStatus
Returns a duplicate 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 moreSource§impl Debug for ShutdownStatus
impl Debug for ShutdownStatus
impl Copy for ShutdownStatus
Auto Trait Implementations§
impl Freeze for ShutdownStatus
impl RefUnwindSafe for ShutdownStatus
impl Send for ShutdownStatus
impl Sync for ShutdownStatus
impl Unpin for ShutdownStatus
impl UnwindSafe for ShutdownStatus
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