pub enum ScratchError {
InvalidRoot,
ProtectedRoot,
LakeOverlap,
Unavailable,
UnsafeRoot,
InvalidAttemptId,
AttemptExists,
UnsafeAttempt,
CleanupFailed,
}Variants§
InvalidRoot
ProtectedRoot
LakeOverlap
UnsafeRoot
InvalidAttemptId
AttemptExists
UnsafeAttempt
CleanupFailed
Trait Implementations§
Source§impl Clone for ScratchError
impl Clone for ScratchError
Source§fn clone(&self) -> ScratchError
fn clone(&self) -> ScratchError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScratchError
impl Debug for ScratchError
Source§impl Display for ScratchError
impl Display for ScratchError
Source§impl Error for ScratchError
impl Error for ScratchError
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 From<ScratchError> for LakeError
impl From<ScratchError> for LakeError
Source§fn from(source: ScratchError) -> Self
fn from(source: ScratchError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ScratchError
impl PartialEq for ScratchError
impl Copy for ScratchError
impl Eq for ScratchError
impl StructuralPartialEq for ScratchError
Auto Trait Implementations§
impl Freeze for ScratchError
impl RefUnwindSafe for ScratchError
impl Send for ScratchError
impl Sync for ScratchError
impl Unpin for ScratchError
impl UnsafeUnpin for ScratchError
impl UnwindSafe for ScratchError
Blanket Implementations§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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.