Enum qbit_api_rs::types::UploadChokingAlgorithm
source · #[repr(u8)]pub enum UploadChokingAlgorithm {
RoundRobin,
FastestUpload,
AntiLeech,
}
Expand description
Variants§
Trait Implementations§
source§impl Debug for UploadChokingAlgorithm
impl Debug for UploadChokingAlgorithm
source§impl<'de> Deserialize<'de> for UploadChokingAlgorithm
impl<'de> Deserialize<'de> for UploadChokingAlgorithm
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<UploadChokingAlgorithm> for UploadChokingAlgorithm
impl PartialEq<UploadChokingAlgorithm> for UploadChokingAlgorithm
source§fn eq(&self, other: &UploadChokingAlgorithm) -> bool
fn eq(&self, other: &UploadChokingAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for UploadChokingAlgorithm
impl Serialize for UploadChokingAlgorithm
impl StructuralPartialEq for UploadChokingAlgorithm
Auto Trait Implementations§
impl RefUnwindSafe for UploadChokingAlgorithm
impl Send for UploadChokingAlgorithm
impl Sync for UploadChokingAlgorithm
impl Unpin for UploadChokingAlgorithm
impl UnwindSafe for UploadChokingAlgorithm
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