pub struct IncompatibleHeightError(/* private fields */);Expand description
Error returned when is_satisfied_by_height fails with a block time.
Trait Implementations§
Source§impl Clone for IncompatibleHeightError
impl Clone for IncompatibleHeightError
Source§fn clone(&self) -> IncompatibleHeightError
fn clone(&self) -> IncompatibleHeightError
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 moreSource§impl Debug for IncompatibleHeightError
impl Debug for IncompatibleHeightError
Source§impl Display for IncompatibleHeightError
impl Display for IncompatibleHeightError
Source§impl Error for IncompatibleHeightError
Available on crate feature std only.
impl Error for IncompatibleHeightError
Available on crate feature
std only.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<Infallible> for IncompatibleHeightError
impl From<Infallible> for IncompatibleHeightError
Source§fn from(never: Infallible) -> Self
fn from(never: Infallible) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IncompatibleHeightError
impl PartialEq for IncompatibleHeightError
Source§fn eq(&self, other: &IncompatibleHeightError) -> bool
fn eq(&self, other: &IncompatibleHeightError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IncompatibleHeightError
impl StructuralPartialEq for IncompatibleHeightError
Auto Trait Implementations§
impl Freeze for IncompatibleHeightError
impl RefUnwindSafe for IncompatibleHeightError
impl Send for IncompatibleHeightError
impl Sync for IncompatibleHeightError
impl Unpin for IncompatibleHeightError
impl UnsafeUnpin for IncompatibleHeightError
impl UnwindSafe for IncompatibleHeightError
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