pub enum SendReason {
StateChange,
Ack,
Keepalive,
Retransmit,
}Available on crate feature
transport only.Expand description
Reason why a frame should be sent.
Variants§
StateChange
State has changed and needs to be synchronized.
Ack
Need to acknowledge received data.
Keepalive
Keepalive to prevent timeout.
Retransmit
Retransmitting unacknowledged data.
Trait Implementations§
Source§impl Clone for SendReason
impl Clone for SendReason
Source§fn clone(&self) -> SendReason
fn clone(&self) -> SendReason
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 SendReason
impl Debug for SendReason
Source§impl PartialEq for SendReason
impl PartialEq for SendReason
impl Copy for SendReason
impl Eq for SendReason
impl StructuralPartialEq for SendReason
Auto Trait Implementations§
impl Freeze for SendReason
impl RefUnwindSafe for SendReason
impl Send for SendReason
impl Sync for SendReason
impl Unpin for SendReason
impl UnwindSafe for SendReason
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