pub enum PluginResult {
Deny,
Neutral,
}Variants§
Implementations§
source§impl PluginResult
impl PluginResult
sourcepub const fn is_deny(&self) -> bool
pub const fn is_deny(&self) -> bool
Returns true if the enum is PluginResult::Deny otherwise false
sourcepub const fn is_neutral(&self) -> bool
pub const fn is_neutral(&self) -> bool
Returns true if the enum is PluginResult::Neutral otherwise false
Trait Implementations§
source§impl Debug for PluginResult
impl Debug for PluginResult
source§impl PartialEq for PluginResult
impl PartialEq for PluginResult
impl Eq for PluginResult
impl StructuralPartialEq for PluginResult
Auto Trait Implementations§
impl Freeze for PluginResult
impl RefUnwindSafe for PluginResult
impl Send for PluginResult
impl Sync for PluginResult
impl Unpin for PluginResult
impl UnwindSafe for PluginResult
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