pub enum ScratchPerformanceError {
InvalidInput {
field: &'static str,
},
UnsupportedGateSnapshotVersion {
version: u32,
},
UnsupportedPerformanceSnapshotVersion {
version: u32,
},
InvalidSnapshot {
field: &'static str,
},
}Variants§
Trait Implementations§
Source§impl Clone for ScratchPerformanceError
impl Clone for ScratchPerformanceError
Source§fn clone(&self) -> ScratchPerformanceError
fn clone(&self) -> ScratchPerformanceError
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 ScratchPerformanceError
Source§impl Debug for ScratchPerformanceError
impl Debug for ScratchPerformanceError
Source§impl Display for ScratchPerformanceError
impl Display for ScratchPerformanceError
impl Eq for ScratchPerformanceError
Source§impl Error for ScratchPerformanceError
impl Error for ScratchPerformanceError
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 ScratchPerformanceError
impl PartialEq for ScratchPerformanceError
impl StructuralPartialEq for ScratchPerformanceError
Auto Trait Implementations§
impl Freeze for ScratchPerformanceError
impl RefUnwindSafe for ScratchPerformanceError
impl Send for ScratchPerformanceError
impl Sync for ScratchPerformanceError
impl Unpin for ScratchPerformanceError
impl UnsafeUnpin for ScratchPerformanceError
impl UnwindSafe for ScratchPerformanceError
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