pub enum KernelProviderError {
Validation(ToolValidationError),
SequenceExhausted,
SequenceRegressed {
current: u64,
requested: u64,
},
UnknownProvider {
provider_id: ToolProviderId,
},
InvalidAttachBinding {
sequence: u64,
binding_id: ProviderBindingId,
},
AlreadyAttached {
provider_id: ToolProviderId,
binding_id: ProviderBindingId,
},
NotAttached {
provider_id: ToolProviderId,
},
BindingMismatch {
provider_id: ToolProviderId,
current: ProviderBindingId,
requested: ProviderBindingId,
},
Engine(ToolEngineError),
IntegrationBlocked,
}Variants§
Validation(ToolValidationError)
SequenceExhausted
SequenceRegressed
UnknownProvider
Fields
§
provider_id: ToolProviderIdInvalidAttachBinding
AlreadyAttached
NotAttached
Fields
§
provider_id: ToolProviderIdBindingMismatch
Engine(ToolEngineError)
IntegrationBlocked
Trait Implementations§
Source§impl Clone for KernelProviderError
impl Clone for KernelProviderError
Source§impl Debug for KernelProviderError
impl Debug for KernelProviderError
Source§impl Display for KernelProviderError
impl Display for KernelProviderError
impl Eq for KernelProviderError
Source§impl Error for KernelProviderError
impl Error for KernelProviderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ToolEngineError> for KernelProviderError
impl From<ToolEngineError> for KernelProviderError
Source§fn from(source: ToolEngineError) -> Self
fn from(source: ToolEngineError) -> Self
Converts to this type from the input type.
Source§impl From<ToolValidationError> for KernelProviderError
impl From<ToolValidationError> for KernelProviderError
Source§fn from(source: ToolValidationError) -> Self
fn from(source: ToolValidationError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for KernelProviderError
impl PartialEq for KernelProviderError
impl StructuralPartialEq for KernelProviderError
Auto Trait Implementations§
impl Freeze for KernelProviderError
impl RefUnwindSafe for KernelProviderError
impl Send for KernelProviderError
impl Sync for KernelProviderError
impl Unpin for KernelProviderError
impl UnsafeUnpin for KernelProviderError
impl UnwindSafe for KernelProviderError
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