#[non_exhaustive]pub enum Guarantee {
Confidentiality,
Integrity,
AntiReplay,
PeerAuthenticationAtEstablishment,
}Expand description
One thing a provider guarantees, in the words docs/design/link-security.md
uses.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Confidentiality
Nobody on the channel reads the payload.
Integrity
A changed or forged SDU is refused.
AntiReplay
A repeated SDU is refused.
PeerAuthenticationAtEstablishment
The peer was authenticated when the transport was established, and nothing after that.
Implementations§
Trait Implementations§
impl Copy for Guarantee
impl Eq for Guarantee
impl StructuralPartialEq for Guarantee
Auto Trait Implementations§
impl Freeze for Guarantee
impl RefUnwindSafe for Guarantee
impl Send for Guarantee
impl Sync for Guarantee
impl Unpin for Guarantee
impl UnsafeUnpin for Guarantee
impl UnwindSafe for Guarantee
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