#[non_exhaustive]pub enum PrerollHint {
Required(u64),
NotNeeded,
FirstSegment,
}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.
Required(u64)
Scheduler must ensure this byte is fetched before seek completes.
NotNeeded
Codec does not need priming (FLAC, PCM, Symphonia AAC, etc.)
FirstSegment
First segment / no prior data exists to prime from.
Trait Implementations§
Source§impl Clone for PrerollHint
impl Clone for PrerollHint
Source§fn clone(&self) -> PrerollHint
fn clone(&self) -> PrerollHint
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 Debug for PrerollHint
impl Debug for PrerollHint
Source§impl Default for PrerollHint
impl Default for PrerollHint
Source§fn default() -> PrerollHint
fn default() -> PrerollHint
Returns the “default value” for a type. Read more
Source§impl PartialEq for PrerollHint
impl PartialEq for PrerollHint
Source§fn eq(&self, other: &PrerollHint) -> bool
fn eq(&self, other: &PrerollHint) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PrerollHint
impl Eq for PrerollHint
impl StructuralPartialEq for PrerollHint
Auto Trait Implementations§
impl Freeze for PrerollHint
impl RefUnwindSafe for PrerollHint
impl Send for PrerollHint
impl Sync for PrerollHint
impl Unpin for PrerollHint
impl UnsafeUnpin for PrerollHint
impl UnwindSafe for PrerollHint
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