pub enum PermissionReply {
Once,
Always,
Reject,
}Expand description
Reply to a permission request.
Variants§
Once
Allow once for this request.
Always
Allow always for matching patterns.
Reject
Reject the permission request.
Trait Implementations§
Source§impl Clone for PermissionReply
impl Clone for PermissionReply
Source§fn clone(&self) -> PermissionReply
fn clone(&self) -> PermissionReply
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 moreimpl Copy for PermissionReply
Source§impl Debug for PermissionReply
impl Debug for PermissionReply
Source§impl<'de> Deserialize<'de> for PermissionReply
impl<'de> Deserialize<'de> for PermissionReply
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PermissionReply
Source§impl PartialEq for PermissionReply
impl PartialEq for PermissionReply
Source§fn eq(&self, other: &PermissionReply) -> bool
fn eq(&self, other: &PermissionReply) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PermissionReply
impl Serialize for PermissionReply
impl StructuralPartialEq for PermissionReply
Auto Trait Implementations§
impl Freeze for PermissionReply
impl RefUnwindSafe for PermissionReply
impl Send for PermissionReply
impl Sync for PermissionReply
impl Unpin for PermissionReply
impl UnsafeUnpin for PermissionReply
impl UnwindSafe for PermissionReply
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