pub enum KeyedRosterRowsError<LeftKey, RightKey, const N: usize> {
Overflow(Overflow),
ForeignLeft(NonEmpty<ForeignRosterReference<LeftKey>, N>),
ForeignRight(NonEmpty<ForeignRosterReference<RightKey>, N>),
}Expand description
How offered rows refuse reference-safe admission over two keyed rosters.
Variants§
Overflow(Overflow)
More rows were offered than the declared row ceiling admits.
ForeignLeft(NonEmpty<ForeignRosterReference<LeftKey>, N>)
One or more rows name a key outside the left roster.
ForeignRight(NonEmpty<ForeignRosterReference<RightKey>, N>)
One or more rows name a key outside the right roster.
Trait Implementations§
Source§impl<LeftKey: Clone, RightKey: Clone, const N: usize> Clone for KeyedRosterRowsError<LeftKey, RightKey, N>
impl<LeftKey: Clone, RightKey: Clone, const N: usize> Clone for KeyedRosterRowsError<LeftKey, RightKey, N>
Source§fn clone(&self) -> KeyedRosterRowsError<LeftKey, RightKey, N>
fn clone(&self) -> KeyedRosterRowsError<LeftKey, RightKey, N>
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<LeftKey: Debug, RightKey: Debug, const N: usize> Debug for KeyedRosterRowsError<LeftKey, RightKey, N>
impl<LeftKey: Debug, RightKey: Debug, const N: usize> Debug for KeyedRosterRowsError<LeftKey, RightKey, N>
Source§impl<LeftKey, RightKey, const N: usize> Display for KeyedRosterRowsError<LeftKey, RightKey, N>
impl<LeftKey, RightKey, const N: usize> Display for KeyedRosterRowsError<LeftKey, RightKey, N>
impl<LeftKey: Eq, RightKey: Eq, const N: usize> Eq for KeyedRosterRowsError<LeftKey, RightKey, N>
Source§impl<LeftKey: Debug, RightKey: Debug, const N: usize> Error for KeyedRosterRowsError<LeftKey, RightKey, N>
impl<LeftKey: Debug, RightKey: Debug, const N: usize> Error for KeyedRosterRowsError<LeftKey, RightKey, N>
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<LeftKey: Hash, RightKey: Hash, const N: usize> Hash for KeyedRosterRowsError<LeftKey, RightKey, N>
impl<LeftKey: Hash, RightKey: Hash, const N: usize> Hash for KeyedRosterRowsError<LeftKey, RightKey, N>
Source§impl<LeftKey: PartialEq, RightKey: PartialEq, const N: usize> PartialEq for KeyedRosterRowsError<LeftKey, RightKey, N>
impl<LeftKey: PartialEq, RightKey: PartialEq, const N: usize> PartialEq for KeyedRosterRowsError<LeftKey, RightKey, N>
impl<LeftKey: PartialEq, RightKey: PartialEq, const N: usize> StructuralPartialEq for KeyedRosterRowsError<LeftKey, RightKey, N>
Auto Trait Implementations§
impl<LeftKey, RightKey, const N: usize> Freeze for KeyedRosterRowsError<LeftKey, RightKey, N>where
NonEmpty<ForeignRosterReference<LeftKey>, N>: Freeze,
NonEmpty<ForeignRosterReference<RightKey>, N>: Freeze,
impl<LeftKey, RightKey, const N: usize> RefUnwindSafe for KeyedRosterRowsError<LeftKey, RightKey, N>where
NonEmpty<ForeignRosterReference<LeftKey>, N>: RefUnwindSafe,
NonEmpty<ForeignRosterReference<RightKey>, N>: RefUnwindSafe,
impl<LeftKey, RightKey, const N: usize> Send for KeyedRosterRowsError<LeftKey, RightKey, N>where
NonEmpty<ForeignRosterReference<LeftKey>, N>: Send,
NonEmpty<ForeignRosterReference<RightKey>, N>: Send,
impl<LeftKey, RightKey, const N: usize> Sync for KeyedRosterRowsError<LeftKey, RightKey, N>where
NonEmpty<ForeignRosterReference<LeftKey>, N>: Sync,
NonEmpty<ForeignRosterReference<RightKey>, N>: Sync,
impl<LeftKey, RightKey, const N: usize> Unpin for KeyedRosterRowsError<LeftKey, RightKey, N>where
NonEmpty<ForeignRosterReference<LeftKey>, N>: Unpin,
NonEmpty<ForeignRosterReference<RightKey>, N>: Unpin,
impl<LeftKey, RightKey, const N: usize> UnsafeUnpin for KeyedRosterRowsError<LeftKey, RightKey, N>where
NonEmpty<ForeignRosterReference<LeftKey>, N>: UnsafeUnpin,
NonEmpty<ForeignRosterReference<RightKey>, N>: UnsafeUnpin,
impl<LeftKey, RightKey, const N: usize> UnwindSafe for KeyedRosterRowsError<LeftKey, RightKey, N>where
NonEmpty<ForeignRosterReference<LeftKey>, N>: UnwindSafe,
NonEmpty<ForeignRosterReference<RightKey>, N>: UnwindSafe,
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