pub enum PluginAuthorizationError {
AbiMismatch {
expected: u32,
actual: u32,
},
CapabilityNotDeclared {
capability: String,
},
EmptyManifestField {
field: &'static str,
},
HostPathDenied {
path: String,
},
MissingCapability {
capability: String,
},
OutputTooLarge {
actual: usize,
limit: usize,
},
}Variants§
AbiMismatch
CapabilityNotDeclared
EmptyManifestField
HostPathDenied
MissingCapability
OutputTooLarge
Trait Implementations§
Source§impl Clone for PluginAuthorizationError
impl Clone for PluginAuthorizationError
Source§fn clone(&self) -> PluginAuthorizationError
fn clone(&self) -> PluginAuthorizationError
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 PluginAuthorizationError
impl Debug for PluginAuthorizationError
Source§impl Deserialize<'static> for PluginAuthorizationError
impl Deserialize<'static> for PluginAuthorizationError
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for PluginAuthorizationError
impl PartialEq for PluginAuthorizationError
Source§impl Serialize for PluginAuthorizationError
impl Serialize for PluginAuthorizationError
impl Eq for PluginAuthorizationError
impl StructuralPartialEq for PluginAuthorizationError
Auto Trait Implementations§
impl Freeze for PluginAuthorizationError
impl RefUnwindSafe for PluginAuthorizationError
impl Send for PluginAuthorizationError
impl Sync for PluginAuthorizationError
impl Unpin for PluginAuthorizationError
impl UnsafeUnpin for PluginAuthorizationError
impl UnwindSafe for PluginAuthorizationError
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