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 · 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 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
Source§impl PartialEq for PermissionReply
impl PartialEq for PermissionReply
Source§impl Serialize for PermissionReply
impl Serialize for PermissionReply
impl Copy for PermissionReply
impl Eq 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 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