Struct rgssad::tokio::reader::TokioReader
source · pub struct TokioReader<R> { /* private fields */ }
Expand description
A tokio wrapper for an archive reader.
Implementations§
source§impl<R> TokioReader<R>
impl<R> TokioReader<R>
sourcepub fn new(reader: R) -> Self
pub fn new(reader: R) -> Self
Make a new TokioReader
.
sourcepub fn into_inner(self) -> R
pub fn into_inner(self) -> R
Get the inner reader
Auto Trait Implementations§
impl<R> Freeze for TokioReader<R>where
R: Freeze,
impl<R> RefUnwindSafe for TokioReader<R>where
R: RefUnwindSafe,
impl<R> Send for TokioReader<R>where
R: Send,
impl<R> Sync for TokioReader<R>where
R: Sync,
impl<R> Unpin for TokioReader<R>where
R: Unpin,
impl<R> UnwindSafe for TokioReader<R>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