pub enum SecurityResult {
Permitted(Option<String>),
NotPermitted,
}Expand description
The result of determining the limitation or constraint for a security feature. Permitted means that the application is allowed to access the resource. The contained value is a limit on the usage of the resource. If it is None then there is no limit on resource usage, or the module may impose a default limit. NotPermitted means that the application is not allowed to access the resource at all, or the module may impose a default limit.
Variants§
Trait Implementations§
Source§impl Clone for SecurityResult
impl Clone for SecurityResult
Source§fn clone(&self) -> SecurityResult
fn clone(&self) -> SecurityResult
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 SecurityResult
impl Debug for SecurityResult
Source§impl PartialEq for SecurityResult
impl PartialEq for SecurityResult
Source§fn eq(&self, other: &SecurityResult) -> bool
fn eq(&self, other: &SecurityResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SecurityResult
Auto Trait Implementations§
impl Freeze for SecurityResult
impl RefUnwindSafe for SecurityResult
impl Send for SecurityResult
impl Sync for SecurityResult
impl Unpin for SecurityResult
impl UnsafeUnpin for SecurityResult
impl UnwindSafe for SecurityResult
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