Enum srt_protocol::protocol::receiver::DataPacketAction
source · 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<DataPacketAction> for DataPacketAction
impl PartialEq<DataPacketAction> for DataPacketAction
source§fn eq(&self, other: &DataPacketAction) -> bool
fn eq(&self, other: &DataPacketAction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for DataPacketAction
impl StructuralEq for DataPacketAction
impl StructuralPartialEq for DataPacketAction
Auto Trait Implementations§
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.