Enum virtual_net::StreamSecurity
source · pub enum StreamSecurity {
Unencrypted,
AnyEncyption,
ClassicEncryption,
DoubleEncryption,
}
Variants§
Trait Implementations§
source§impl Clone for StreamSecurity
impl Clone for StreamSecurity
source§fn clone(&self) -> StreamSecurity
fn clone(&self) -> StreamSecurity
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 Debug for StreamSecurity
impl Debug for StreamSecurity
source§impl<'de> Deserialize<'de> for StreamSecurity
impl<'de> Deserialize<'de> for StreamSecurity
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 StreamSecurity
impl PartialEq for StreamSecurity
source§fn eq(&self, other: &StreamSecurity) -> bool
fn eq(&self, other: &StreamSecurity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for StreamSecurity
impl Serialize for StreamSecurity
impl Copy for StreamSecurity
impl Eq for StreamSecurity
impl StructuralPartialEq for StreamSecurity
Auto Trait Implementations§
impl Freeze for StreamSecurity
impl RefUnwindSafe for StreamSecurity
impl Send for StreamSecurity
impl Sync for StreamSecurity
impl Unpin for StreamSecurity
impl UnwindSafe for StreamSecurity
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)