pub enum EctPreference {
Ect0,
Ect1,
Random,
}Expand description
Which ECT codepoint a receiver asks the sender to use: the ect= parameter of its
a=ecn-capable-rtp (RFC 6679 section 6.1). Left out, the sender uses ECT(0).
Variants§
Ect0
ect=0.
Ect1
ect=1.
Random
ect=random: the sender picks ECT(0) or ECT(1) at random for each packet.
Implementations§
Trait Implementations§
Source§impl Clone for EctPreference
impl Clone for EctPreference
impl Copy for EctPreference
Source§impl Debug for EctPreference
impl Debug for EctPreference
impl Eq for EctPreference
Source§impl PartialEq for EctPreference
impl PartialEq for EctPreference
impl StructuralPartialEq for EctPreference
Auto Trait Implementations§
impl Forget for EctPreference
impl Freeze for EctPreference
impl Move for EctPreference
impl RefUnwindSafe for EctPreference
impl Send for EctPreference
impl Sync for EctPreference
impl Unpin for EctPreference
impl UnsafeUnpin for EctPreference
impl UnwindSafe for EctPreference
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