#[non_exhaustive]pub enum SeekScope {
Any,
RandomAccessPoints,
}Expand description
Which packets a seek may land on.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Any
Any packet; the caller decodes from an earlier random-access point and discards up to it.
RandomAccessPoints
Only packets the container marks as random-access points.
Trait Implementations§
impl Copy for SeekScope
impl Eq for SeekScope
impl StructuralPartialEq for SeekScope
Auto Trait Implementations§
impl Freeze for SeekScope
impl RefUnwindSafe for SeekScope
impl Send for SeekScope
impl Sync for SeekScope
impl Unpin for SeekScope
impl UnsafeUnpin for SeekScope
impl UnwindSafe for SeekScope
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