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§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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)