#[repr(u8)]pub enum UtpTcpMixedMode {
PreferTCP = 0,
PeerProportional = 1,
}
Expand description
§/api/v2/app/preferences
Variants§
Trait Implementations§
Source§impl Clone for UtpTcpMixedMode
impl Clone for UtpTcpMixedMode
Source§fn clone(&self) -> UtpTcpMixedMode
fn clone(&self) -> UtpTcpMixedMode
Returns a duplicate of the value. Read more
1.0.0 · 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 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 for UtpTcpMixedMode
impl PartialEq for UtpTcpMixedMode
Source§impl Serialize for UtpTcpMixedMode
impl Serialize for UtpTcpMixedMode
impl StructuralPartialEq for UtpTcpMixedMode
Auto Trait Implementations§
impl Freeze for UtpTcpMixedMode
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