pub enum BoundedLane<T> {
Absent,
Complete(Vec<T>),
Truncated {
items: Vec<T>,
omitted: usize,
},
}Expand description
A bounded observation lane, retaining the distinction between no lane, an observed empty lane, and an observed prefix whose tail was omitted.
Variants§
Absent
The scenario did not select this lane.
Complete(Vec<T>)
The complete ordered lane, including an observed empty lane.
Truncated
The ordered prefix retained when the lane exceeded its bound.
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for BoundedLane<T>
impl<T: Clone> Clone for BoundedLane<T>
Source§fn clone(&self) -> BoundedLane<T>
fn clone(&self) -> BoundedLane<T>
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<T: Debug> Debug for BoundedLane<T>
impl<T: Debug> Debug for BoundedLane<T>
impl<T: Eq> Eq for BoundedLane<T>
Source§impl<T: PartialEq> PartialEq for BoundedLane<T>
impl<T: PartialEq> PartialEq for BoundedLane<T>
impl<T: PartialEq> StructuralPartialEq for BoundedLane<T>
Auto Trait Implementations§
impl<T> Freeze for BoundedLane<T>
impl<T> RefUnwindSafe for BoundedLane<T>where
T: RefUnwindSafe,
impl<T> Send for BoundedLane<T>where
T: Send,
impl<T> Sync for BoundedLane<T>where
T: Sync,
impl<T> Unpin for BoundedLane<T>where
T: Unpin,
impl<T> UnsafeUnpin for BoundedLane<T>
impl<T> UnwindSafe for BoundedLane<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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.