#[non_exhaustive]pub enum ToolRecoveryHandleError {
EmptyOpaqueId,
OpaqueIdTooLong {
maximum: usize,
actual: usize,
},
OpaqueIdBoundaryWhitespace,
OpaqueIdDisallowedCodePoint,
}Expand description
Invalid provider operation handle.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
EmptyOpaqueId
The provider reference was empty.
OpaqueIdTooLong
The provider reference exceeded the durable wire ceiling.
OpaqueIdBoundaryWhitespace
Leading or trailing whitespace made the identity ambiguous.
OpaqueIdDisallowedCodePoint
The identifier contained a control or Unicode noncharacter.
Trait Implementations§
Source§impl Clone for ToolRecoveryHandleError
impl Clone for ToolRecoveryHandleError
impl Copy for ToolRecoveryHandleError
Source§impl Debug for ToolRecoveryHandleError
impl Debug for ToolRecoveryHandleError
Source§impl Display for ToolRecoveryHandleError
impl Display for ToolRecoveryHandleError
impl Eq for ToolRecoveryHandleError
Source§impl Error for ToolRecoveryHandleError
impl Error for ToolRecoveryHandleError
1.30.0 · 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 PartialEq for ToolRecoveryHandleError
impl PartialEq for ToolRecoveryHandleError
impl StructuralPartialEq for ToolRecoveryHandleError
Auto Trait Implementations§
impl Forget for ToolRecoveryHandleError
impl Freeze for ToolRecoveryHandleError
impl Move for ToolRecoveryHandleError
impl RefUnwindSafe for ToolRecoveryHandleError
impl Send for ToolRecoveryHandleError
impl Sync for ToolRecoveryHandleError
impl Unpin for ToolRecoveryHandleError
impl UnsafeUnpin for ToolRecoveryHandleError
impl UnwindSafe for ToolRecoveryHandleError
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