pub enum ErrorKind {
Show 20 variants
Configuration {
key: Option<String>,
validation_errors: Vec<String>,
},
Manager {
manager_name: String,
operation: ManagerOperation,
},
Event {
event_type: Option<String>,
subscriber_id: Option<Uuid>,
operation: EventOperation,
},
Task {
task_id: Option<Uuid>,
task_name: Option<String>,
cancelled: bool,
},
File {
path: Option<String>,
operation: FileOperation,
},
Concurrency {
thread_id: Option<String>,
operation: ConcurrencyOperation,
},
Plugin {
plugin_id: Option<String>,
plugin_name: Option<String>,
dependency_missing: Option<String>,
},
Platform {
platform: String,
feature: String,
fallback_available: bool,
},
Permission {
required_permission: String,
user_role: Option<String>,
},
Network {
status_code: Option<u16>,
endpoint: Option<String>,
},
Database {
query: Option<String>,
connection_id: Option<String>,
},
Security {
user_id: Option<String>,
permission: Option<String>,
},
Validation {
field: Option<String>,
rules: Vec<String>,
},
Authentication {
provider: Option<String>,
reason: String,
},
Authorization {
resource: String,
action: String,
user_id: Option<String>,
},
Application,
Io,
Serialization,
Timeout,
ResourceExhausted,
}
Variants§
Configuration
Manager
Event
Task
File
Concurrency
Plugin
Platform
Permission
Network
Database
Security
Validation
Authentication
Authorization
Application
Io
Serialization
Timeout
ResourceExhausted
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ErrorKind
impl<'de> Deserialize<'de> for ErrorKind
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 ErrorKind
impl StructuralPartialEq for ErrorKind
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> InitializeFromFunction<T> for T
impl<T> InitializeFromFunction<T> for T
§fn initialize_from_function(f: fn() -> T) -> T
fn initialize_from_function(f: fn() -> T) -> T
Create an instance of this type from an initialization function
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.