pub struct DownloadInstanceOutputCallbacks {
pub write: Option<Box<dyn FnMut(&[u8]) -> usize>>,
pub progress: Option<Box<dyn FnMut(u64, u64) -> bool>>,
}
Fields§
§write: Option<Box<dyn FnMut(&[u8]) -> usize>>
§progress: Option<Box<dyn FnMut(u64, u64) -> bool>>
Auto Trait Implementations§
impl !RefUnwindSafe for DownloadInstanceOutputCallbacks
impl !Send for DownloadInstanceOutputCallbacks
impl !Sync for DownloadInstanceOutputCallbacks
impl Unpin for DownloadInstanceOutputCallbacks
impl !UnwindSafe for DownloadInstanceOutputCallbacks
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