pub enum OperationIdError {
Empty,
TooLong,
InvalidByte,
}Expand description
Invalid provider operation identifier.
Variants§
Empty
The identifier is empty.
TooLong
The identifier exceeds [MAX_OPERATION_ID_BYTES].
InvalidByte
The identifier contains a byte outside lowercase ASCII, digits, or _.
Trait Implementations§
Source§impl Clone for OperationIdError
impl Clone for OperationIdError
Source§fn clone(&self) -> OperationIdError
fn clone(&self) -> OperationIdError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OperationIdError
Source§impl Debug for OperationIdError
impl Debug for OperationIdError
Source§impl Display for OperationIdError
impl Display for OperationIdError
impl Eq for OperationIdError
Source§impl Error for OperationIdError
impl Error for OperationIdError
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 OperationIdError
impl PartialEq for OperationIdError
impl StructuralPartialEq for OperationIdError
Auto Trait Implementations§
impl Freeze for OperationIdError
impl RefUnwindSafe for OperationIdError
impl Send for OperationIdError
impl Sync for OperationIdError
impl Unpin for OperationIdError
impl UnsafeUnpin for OperationIdError
impl UnwindSafe for OperationIdError
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