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