Struct surrealml_core::storage::stream_adapter::StreamAdapter
source · pub struct StreamAdapter { /* private fields */ }
Expand description
Stream adapter for file system.
§Arguments
chunk_size
- The size of the chunks to read from the file.file_pointer
- The pointer to the file to be streamed
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StreamAdapter
impl RefUnwindSafe for StreamAdapter
impl Send for StreamAdapter
impl Sync for StreamAdapter
impl Unpin for StreamAdapter
impl UnwindSafe for StreamAdapter
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