pub enum InvalidSlotWindows {
Empty(NoSlotWindows),
Inverted(InvertedSlotRange),
}Expand description
Why a set of ranges from the wire isn’t valid slot windows.
Variants§
Empty(NoSlotWindows)
Inverted(InvertedSlotRange)
Trait Implementations§
Source§impl Clone for InvalidSlotWindows
impl Clone for InvalidSlotWindows
impl Copy for InvalidSlotWindows
Source§impl Debug for InvalidSlotWindows
impl Debug for InvalidSlotWindows
Source§impl Display for InvalidSlotWindows
impl Display for InvalidSlotWindows
impl Eq for InvalidSlotWindows
Source§impl Error for InvalidSlotWindows
impl Error for InvalidSlotWindows
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 From<NoSlotWindows> for InvalidSlotWindows
impl From<NoSlotWindows> for InvalidSlotWindows
Source§fn from(source: NoSlotWindows) -> Self
fn from(source: NoSlotWindows) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InvalidSlotWindows
impl PartialEq for InvalidSlotWindows
impl StructuralPartialEq for InvalidSlotWindows
Auto Trait Implementations§
impl Forget for InvalidSlotWindows
impl Freeze for InvalidSlotWindows
impl Move for InvalidSlotWindows
impl RefUnwindSafe for InvalidSlotWindows
impl Send for InvalidSlotWindows
impl Sync for InvalidSlotWindows
impl Unpin for InvalidSlotWindows
impl UnsafeUnpin for InvalidSlotWindows
impl UnwindSafe for InvalidSlotWindows
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