pub struct RandFilePusherMmap { /* private fields */ }Implementations§
Source§impl RandFilePusherMmap
impl RandFilePusherMmap
pub async fn new( path: impl AsRef<Path>, size: u64, buffer_size: usize, ) -> Result<RandFilePusherMmap, FilePusherError>
Trait Implementations§
Source§impl Debug for RandFilePusherMmap
impl Debug for RandFilePusherMmap
Source§impl RandPusher for RandFilePusherMmap
impl RandPusher for RandFilePusherMmap
type Error = FilePusherError
async fn push( &mut self, range: Range<u64>, bytes: &[u8], ) -> Result<(), <RandFilePusherMmap as RandPusher>::Error>
async fn flush( &mut self, ) -> Result<(), <RandFilePusherMmap as RandPusher>::Error>
Auto Trait Implementations§
impl Freeze for RandFilePusherMmap
impl !RefUnwindSafe for RandFilePusherMmap
impl Send for RandFilePusherMmap
impl Sync for RandFilePusherMmap
impl Unpin for RandFilePusherMmap
impl !UnwindSafe for RandFilePusherMmap
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