pub enum AqcPskId {
Bidi(BidiPskId),
Uni(UniPskId),
}Expand description
An AQC PSK identity.
Variants§
Implementations§
Source§impl AqcPskId
impl AqcPskId
Sourcepub fn channel_id(&self) -> Id
pub fn channel_id(&self) -> Id
Returns the unique channel ID.
Sourcepub fn cipher_suite(&self) -> CipherSuiteId
pub fn cipher_suite(&self) -> CipherSuiteId
Returns the cipher suite.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for AqcPskId
impl<'de> Deserialize<'de> for AqcPskId
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
impl Eq for AqcPskId
impl StructuralPartialEq for AqcPskId
Auto Trait Implementations§
impl Freeze for AqcPskId
impl RefUnwindSafe for AqcPskId
impl Send for AqcPskId
impl Sync for AqcPskId
impl Unpin for AqcPskId
impl UnwindSafe for AqcPskId
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