pub enum StampCostError {
Zero,
ExceedsMaximum {
value: u16,
},
}Variants§
Trait Implementations§
Source§impl Debug for StampCostError
impl Debug for StampCostError
Source§impl Display for StampCostError
impl Display for StampCostError
impl Eq for StampCostError
Source§impl Error for StampCostError
Available on crate feature std only.
impl Error for StampCostError
Available on crate feature
std only.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 StampCostError
impl PartialEq for StampCostError
impl StructuralPartialEq for StampCostError
Auto Trait Implementations§
impl Freeze for StampCostError
impl RefUnwindSafe for StampCostError
impl Send for StampCostError
impl Sync for StampCostError
impl Unpin for StampCostError
impl UnsafeUnpin for StampCostError
impl UnwindSafe for StampCostError
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