pub enum ProtocolAuthority {
UntrustedClient,
TrustedServer,
}Variants§
Trait Implementations§
Source§impl Clone for ProtocolAuthority
impl Clone for ProtocolAuthority
Source§fn clone(&self) -> ProtocolAuthority
fn clone(&self) -> ProtocolAuthority
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProtocolAuthority
impl Debug for ProtocolAuthority
Source§impl<'de> Deserialize<'de> for ProtocolAuthority
impl<'de> Deserialize<'de> for ProtocolAuthority
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 ProtocolAuthority
impl PartialEq for ProtocolAuthority
Source§fn eq(&self, other: &ProtocolAuthority) -> bool
fn eq(&self, other: &ProtocolAuthority) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ProtocolAuthority
impl Serialize for ProtocolAuthority
impl Copy for ProtocolAuthority
impl Eq for ProtocolAuthority
impl StructuralPartialEq for ProtocolAuthority
Auto Trait Implementations§
impl Freeze for ProtocolAuthority
impl RefUnwindSafe for ProtocolAuthority
impl Send for ProtocolAuthority
impl Sync for ProtocolAuthority
impl Unpin for ProtocolAuthority
impl UnsafeUnpin for ProtocolAuthority
impl UnwindSafe for ProtocolAuthority
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