pub enum AddError {
OverlapRange(OverlapError),
BadRange,
}Expand description
Possible errors when inserting a range to a DisjointRange.
Variants§
OverlapRange(OverlapError)
Insertion erred because the range to insert overlaps with an existing
range in DisjointRange.
BadRange
Insertion failed because the provided parameters does not form a vaild range (e.g., when the start value is greater than the end value).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AddError
impl RefUnwindSafe for AddError
impl Send for AddError
impl Sync for AddError
impl Unpin for AddError
impl UnwindSafe for AddError
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