pub struct CacheReader<'a, R: Read + Seek, const D: usize> { /* private fields */ }
Implementations§
Source§impl<'a, R: Read + Seek, const D: usize> CacheReader<'a, R, D>
impl<'a, R: Read + Seek, const D: usize> CacheReader<'a, R, D>
pub fn with_dataset( ds: &'a Dataset<'_, D>, fd: R, ) -> Result<CacheReader<'a, R, D>, Error>
Trait Implementations§
Auto Trait Implementations§
impl<'a, R, const D: usize> Freeze for CacheReader<'a, R, D>where
R: Freeze,
impl<'a, R, const D: usize> RefUnwindSafe for CacheReader<'a, R, D>where
R: RefUnwindSafe,
impl<'a, R, const D: usize> Send for CacheReader<'a, R, D>where
R: Send,
impl<'a, R, const D: usize> Sync for CacheReader<'a, R, D>where
R: Sync,
impl<'a, R, const D: usize> Unpin for CacheReader<'a, R, D>where
R: Unpin,
impl<'a, R, const D: usize> UnwindSafe for CacheReader<'a, R, D>where
R: 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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more