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