pub enum StreamPurpose {
DirFetch,
DirUpload,
DnsRequest,
DirPortTest,
User,
Other(String),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for StreamPurpose
impl Clone for StreamPurpose
Source§impl Debug for StreamPurpose
impl Debug for StreamPurpose
Source§impl Display for StreamPurpose
impl Display for StreamPurpose
impl Eq for StreamPurpose
Source§impl From<&str> for StreamPurpose
impl From<&str> for StreamPurpose
Source§impl FromStr for StreamPurpose
impl FromStr for StreamPurpose
Source§impl Hash for StreamPurpose
impl Hash for StreamPurpose
Source§impl PartialEq for StreamPurpose
impl PartialEq for StreamPurpose
Source§impl Serialize for StreamPurpose
impl Serialize for StreamPurpose
impl StructuralPartialEq for StreamPurpose
Auto Trait Implementations§
impl Freeze for StreamPurpose
impl RefUnwindSafe for StreamPurpose
impl Send for StreamPurpose
impl Sync for StreamPurpose
impl Unpin for StreamPurpose
impl UnsafeUnpin for StreamPurpose
impl UnwindSafe for StreamPurpose
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere T: Clone,
impl<T> CloneToUninit for Twhere T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.