pub enum PluginErrorCode {
InvalidInput,
FilterRejected,
CapabilityDenied,
ExternalError,
Internal,
Panic,
}Variants§
InvalidInput
Required input field missing or wrong type.
FilterRejected
Plugin rejected the row (filter only).
CapabilityDenied
Plugin tried to use a capability that wasn’t granted.
ExternalError
External call (HTTP, KV) failed.
Internal
Plugin-specific logic error.
Panic
Plugin panicked; message contains the panic string.
Trait Implementations§
Source§impl Clone for PluginErrorCode
impl Clone for PluginErrorCode
impl Copy for PluginErrorCode
Source§impl Debug for PluginErrorCode
impl Debug for PluginErrorCode
Source§impl<'de> Deserialize<'de> for PluginErrorCode
impl<'de> Deserialize<'de> for PluginErrorCode
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 PluginErrorCode
Source§impl PartialEq for PluginErrorCode
impl PartialEq for PluginErrorCode
Source§impl Serialize for PluginErrorCode
impl Serialize for PluginErrorCode
impl StructuralPartialEq for PluginErrorCode
Auto Trait Implementations§
impl Forget for PluginErrorCode
impl Freeze for PluginErrorCode
impl Move for PluginErrorCode
impl RefUnwindSafe for PluginErrorCode
impl Send for PluginErrorCode
impl Sync for PluginErrorCode
impl Unpin for PluginErrorCode
impl UnsafeUnpin for PluginErrorCode
impl UnwindSafe for PluginErrorCode
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