pub enum AccessDecision {
Permit,
Deny,
}Expand description
Ob eine Aktion durchgefuehrt werden darf. Bewusst sparsam — keine
Reason-String, weil der Reason an den Remote nichts verraten soll
(Logging via crate::LoggingPlugin).
Variants§
Implementations§
Source§impl AccessDecision
impl AccessDecision
Sourcepub fn is_permitted(self) -> bool
pub fn is_permitted(self) -> bool
true wenn Permit.
Trait Implementations§
Source§impl Clone for AccessDecision
impl Clone for AccessDecision
Source§fn clone(&self) -> AccessDecision
fn clone(&self) -> AccessDecision
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 AccessDecision
impl Debug for AccessDecision
Source§impl PartialEq for AccessDecision
impl PartialEq for AccessDecision
Source§fn eq(&self, other: &AccessDecision) -> bool
fn eq(&self, other: &AccessDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for AccessDecision
impl Eq for AccessDecision
impl StructuralPartialEq for AccessDecision
Auto Trait Implementations§
impl Freeze for AccessDecision
impl RefUnwindSafe for AccessDecision
impl Send for AccessDecision
impl Sync for AccessDecision
impl Unpin for AccessDecision
impl UnsafeUnpin for AccessDecision
impl UnwindSafe for AccessDecision
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