pub struct InvertedSlotRange {
pub start: u64,
pub end: u64,
}Expand description
Why a pair of bounds isn’t a valid range.
Fields§
§start: u64§end: u64The requested end slot, below start.
Trait Implementations§
Source§impl Clone for InvertedSlotRange
impl Clone for InvertedSlotRange
impl Copy for InvertedSlotRange
Source§impl Debug for InvertedSlotRange
impl Debug for InvertedSlotRange
Source§impl Display for InvertedSlotRange
impl Display for InvertedSlotRange
impl Eq for InvertedSlotRange
Source§impl Error for InvertedSlotRange
impl Error for InvertedSlotRange
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<InvertedSlotRange> for InvalidSlotWindows
impl From<InvertedSlotRange> for InvalidSlotWindows
Source§fn from(source: InvertedSlotRange) -> Self
fn from(source: InvertedSlotRange) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InvertedSlotRange
impl PartialEq for InvertedSlotRange
impl StructuralPartialEq for InvertedSlotRange
Auto Trait Implementations§
impl Forget for InvertedSlotRange
impl Freeze for InvertedSlotRange
impl Move for InvertedSlotRange
impl RefUnwindSafe for InvertedSlotRange
impl Send for InvertedSlotRange
impl Sync for InvertedSlotRange
impl Unpin for InvertedSlotRange
impl UnsafeUnpin for InvertedSlotRange
impl UnwindSafe for InvertedSlotRange
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