pub enum CredentialMechanism {
ShortTerm(Option<Integrity>),
LongTerm,
}Expand description
Describes the kind of credential mechanism that can be used by the STUN agent.
Variants§
ShortTerm(Option<Integrity>)
Short-term credential mechanism
with the specified Integrity in case the agent knows from an external mechanism
which message integrity algorithm is supported by both agents.
LongTerm
Trait Implementations§
source§impl Clone for CredentialMechanism
impl Clone for CredentialMechanism
source§fn clone(&self) -> CredentialMechanism
fn clone(&self) -> CredentialMechanism
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 CredentialMechanism
impl Debug for CredentialMechanism
source§impl PartialEq for CredentialMechanism
impl PartialEq for CredentialMechanism
impl Copy for CredentialMechanism
impl Eq for CredentialMechanism
impl StructuralPartialEq for CredentialMechanism
Auto Trait Implementations§
impl Freeze for CredentialMechanism
impl RefUnwindSafe for CredentialMechanism
impl Send for CredentialMechanism
impl Sync for CredentialMechanism
impl Unpin for CredentialMechanism
impl UnwindSafe for CredentialMechanism
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)