pub struct CardinalityLimitsSplit<'a, T> {
pub accepted: Vec<T>,
pub rejected: Vec<(T, &'a CardinalityLimit)>,
}
Expand description
Split of the original source containing accepted and rejected source elements.
Fields§
§accepted: Vec<T>
The list of accepted elements of the source.
rejected: Vec<(T, &'a CardinalityLimit)>
The list of rejected elements of the source, together with the most specific limit they exceeded.
Trait Implementations§
Auto Trait Implementations§
impl<'a, T> Freeze for CardinalityLimitsSplit<'a, T>
impl<'a, T> RefUnwindSafe for CardinalityLimitsSplit<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for CardinalityLimitsSplit<'a, T>where
T: Send,
impl<'a, T> Sync for CardinalityLimitsSplit<'a, T>where
T: Sync,
impl<'a, T> Unpin for CardinalityLimitsSplit<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for CardinalityLimitsSplit<'a, T>where
T: 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