pub struct PrefetchedSampleProvider { /* private fields */ }Expand description
A SampleProvider that answers from a TrackSampleLoader’s cache and
reports ErrorKind::WouldBlock for a sample that is not loaded yet.
Trait Implementations§
Source§impl SampleProvider for PrefetchedSampleProvider
impl SampleProvider for PrefetchedSampleProvider
Auto Trait Implementations§
impl Forget for PrefetchedSampleProvider
impl Freeze for PrefetchedSampleProviderwhere
*const u8 is !null: Freeze,
PhantomData<u64>: Freeze,
PhantomData<bool>: Freeze,
*const ArcInner<Mutex<CacheState>> is !null: Freeze,
PhantomData<ArcInner<Mutex<CacheState>>>: Freeze,
impl Move for PrefetchedSampleProvider
impl RefUnwindSafe for PrefetchedSampleProvider
impl Send for PrefetchedSampleProvider
impl Sync for PrefetchedSampleProvider
impl Unpin for PrefetchedSampleProvider
impl UnsafeUnpin for PrefetchedSampleProviderwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<bool>: UnsafeUnpin,
*const ArcInner<Mutex<CacheState>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<CacheState>>>: UnsafeUnpin,
impl UnwindSafe for PrefetchedSampleProvider
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