pub enum EndpointMatch {
Accept(ProtectionLevel),
Reject(MatchRejectReason),
}Expand description
Ergebnis eines Writer/Reader-Match-Checks.
Variants§
Accept(ProtectionLevel)
Match akzeptiert, auf diesem effektiven Protection-Level
(max(writer, reader)).
Reject(MatchRejectReason)
Match abgelehnt — Peer kann die verlangte Protection nicht liefern.
Trait Implementations§
Source§impl Clone for EndpointMatch
impl Clone for EndpointMatch
Source§fn clone(&self) -> EndpointMatch
fn clone(&self) -> EndpointMatch
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 EndpointMatch
impl Debug for EndpointMatch
Source§impl PartialEq for EndpointMatch
impl PartialEq for EndpointMatch
Source§fn eq(&self, other: &EndpointMatch) -> bool
fn eq(&self, other: &EndpointMatch) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EndpointMatch
impl Eq for EndpointMatch
impl StructuralPartialEq for EndpointMatch
Auto Trait Implementations§
impl Freeze for EndpointMatch
impl RefUnwindSafe for EndpointMatch
impl Send for EndpointMatch
impl Sync for EndpointMatch
impl Unpin for EndpointMatch
impl UnsafeUnpin for EndpointMatch
impl UnwindSafe for EndpointMatch
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