pub struct FileIO;Implementations§
Source§impl FileIO
impl FileIO
Sourcepub fn from_path(
path: impl Into<PathBuf>,
chunk_size: usize,
) -> Source<Result<Bytes>>
pub fn from_path( path: impl Into<PathBuf>, chunk_size: usize, ) -> Source<Result<Bytes>>
Read a file in chunks of chunk_size bytes. akka.net: FileIO.FromFile.
Auto Trait Implementations§
impl Freeze for FileIO
impl RefUnwindSafe for FileIO
impl Send for FileIO
impl Sync for FileIO
impl Unpin for FileIO
impl UnsafeUnpin for FileIO
impl UnwindSafe for FileIO
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