Enum deno_net::raw::NetworkStreamType
source · pub enum NetworkStreamType {
Tcp,
Tls,
Unix,
}
Expand description
A raw stream of one of the types handled by this extension.
Variants§
Trait Implementations§
source§impl Clone for NetworkStreamType
impl Clone for NetworkStreamType
source§fn clone(&self) -> NetworkStreamType
fn clone(&self) -> NetworkStreamType
Returns a copy 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 PartialEq for NetworkStreamType
impl PartialEq for NetworkStreamType
source§fn eq(&self, other: &NetworkStreamType) -> bool
fn eq(&self, other: &NetworkStreamType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for NetworkStreamType
impl Eq for NetworkStreamType
impl StructuralEq for NetworkStreamType
impl StructuralPartialEq for NetworkStreamType
Auto Trait Implementations§
impl RefUnwindSafe for NetworkStreamType
impl Send for NetworkStreamType
impl Sync for NetworkStreamType
impl Unpin for NetworkStreamType
impl UnwindSafe for NetworkStreamType
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<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.