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 PartialEq<StreamSecurity> for StreamSecurity
impl PartialEq<StreamSecurity> 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 ==
.impl Copy for StreamSecurity
impl Eq for StreamSecurity
impl StructuralEq for StreamSecurity
impl StructuralPartialEq for StreamSecurity
Auto Trait Implementations§
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