#[repr(u32)]pub enum Ciphersuite {
ProtobufEd25519 = 1,
BincodeEd25519 = 2,
Unknown(u32),
}Variants§
Trait Implementations§
Source§impl<'de> BorrowDecode<'de> for Ciphersuite
impl<'de> BorrowDecode<'de> for Ciphersuite
Source§fn borrow_decode<B: BorrowDecoder<'de>>(
buffer: &mut B,
) -> Result<Self, DecodeError>
fn borrow_decode<B: BorrowDecoder<'de>>( buffer: &mut B, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for Ciphersuite
impl Clone for Ciphersuite
Source§fn clone(&self) -> Ciphersuite
fn clone(&self) -> Ciphersuite
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 Ciphersuite
impl Debug for Ciphersuite
Source§impl Decode for Ciphersuite
impl Decode for Ciphersuite
Source§impl<'de> Deserialize<'de> for Ciphersuite
impl<'de> Deserialize<'de> for Ciphersuite
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 Display for Ciphersuite
impl Display for Ciphersuite
Source§impl Encode for Ciphersuite
impl Encode for Ciphersuite
Source§impl From<Ciphersuite> for u32
impl From<Ciphersuite> for u32
Source§fn from(val: Ciphersuite) -> Self
fn from(val: Ciphersuite) -> Self
Converts to this type from the input type.
Source§impl From<u32> for Ciphersuite
impl From<u32> for Ciphersuite
Source§impl FromStr for Ciphersuite
impl FromStr for Ciphersuite
Source§impl PartialEq for Ciphersuite
impl PartialEq for Ciphersuite
Source§impl Serialize for Ciphersuite
impl Serialize for Ciphersuite
Source§impl<'__s> ToSchema<'__s> for Ciphersuite
impl<'__s> ToSchema<'__s> for Ciphersuite
impl Copy for Ciphersuite
impl StructuralPartialEq for Ciphersuite
Auto Trait Implementations§
impl Freeze for Ciphersuite
impl RefUnwindSafe for Ciphersuite
impl Send for Ciphersuite
impl Sync for Ciphersuite
impl Unpin for Ciphersuite
impl UnwindSafe for Ciphersuite
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