Enum qbit_api_rs::types::UtpTcpMixedMode
source · #[repr(u8)]pub enum UtpTcpMixedMode {
PreferTCP,
PeerProportional,
}
Expand description
Variants§
Trait Implementations§
source§impl Debug for UtpTcpMixedMode
impl Debug for UtpTcpMixedMode
source§impl<'de> Deserialize<'de> for UtpTcpMixedMode
impl<'de> Deserialize<'de> for UtpTcpMixedMode
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<UtpTcpMixedMode> for UtpTcpMixedMode
impl PartialEq<UtpTcpMixedMode> for UtpTcpMixedMode
source§fn eq(&self, other: &UtpTcpMixedMode) -> bool
fn eq(&self, other: &UtpTcpMixedMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UtpTcpMixedMode
impl Serialize for UtpTcpMixedMode
impl StructuralPartialEq for UtpTcpMixedMode
Auto Trait Implementations§
impl RefUnwindSafe for UtpTcpMixedMode
impl Send for UtpTcpMixedMode
impl Sync for UtpTcpMixedMode
impl Unpin for UtpTcpMixedMode
impl UnwindSafe for UtpTcpMixedMode
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