pub enum TransmitAction {
SendPacket {
payload: Bytes,
},
SendFiller {
payload: Bytes,
},
WaitUntil(Instant),
Idle,
}Expand description
Action the application should take on the wire.
Variants§
SendPacket
Send a pre-formed media packet.
SendFiller
Send dummy backlog filler to keep the CC feedback loop tight.
WaitUntil(Instant)
Pacing gate: do not send before this instant.
Idle
Nothing to send right now (cwnd full, filler unavailable, etc.).
Trait Implementations§
Source§impl Clone for TransmitAction
impl Clone for TransmitAction
Source§fn clone(&self) -> TransmitAction
fn clone(&self) -> TransmitAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TransmitAction
impl Debug for TransmitAction
impl Eq for TransmitAction
Source§impl PartialEq for TransmitAction
impl PartialEq for TransmitAction
Source§fn eq(&self, other: &TransmitAction) -> bool
fn eq(&self, other: &TransmitAction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TransmitAction
Auto Trait Implementations§
impl !Freeze for TransmitAction
impl RefUnwindSafe for TransmitAction
impl Send for TransmitAction
impl Sync for TransmitAction
impl Unpin for TransmitAction
impl UnsafeUnpin for TransmitAction
impl UnwindSafe for TransmitAction
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