pub enum DataPacketAction {
Received {
lrsn: SeqNumber,
recovered: bool,
},
ReceivedWithLoss(CompressedLossList),
ReceivedWithLightAck {
light_ack: SeqNumber,
recovered: bool,
},
}Variants§
Implementations§
Source§impl DataPacketAction
impl DataPacketAction
pub fn is_recovered(&self) -> bool
Trait Implementations§
Source§impl Debug for DataPacketAction
impl Debug for DataPacketAction
Source§impl PartialEq for DataPacketAction
impl PartialEq for DataPacketAction
impl Eq for DataPacketAction
impl StructuralPartialEq for DataPacketAction
Auto Trait Implementations§
impl Freeze for DataPacketAction
impl RefUnwindSafe for DataPacketAction
impl Send for DataPacketAction
impl Sync for DataPacketAction
impl Unpin for DataPacketAction
impl UnwindSafe for DataPacketAction
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.