pub struct DownloadFile {
pub file_name: FixedString<23>,
pub size: u32,
pub vendor: FileVendor,
pub target: FileTransferTarget,
pub address: u32,
pub progress_callback: Option<Box<dyn FnMut(f32) + Send>>,
}
Fields§
§file_name: FixedString<23>
§size: u32
§vendor: FileVendor
§target: FileTransferTarget
§address: u32
§progress_callback: Option<Box<dyn FnMut(f32) + Send>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DownloadFile
impl !RefUnwindSafe for DownloadFile
impl Send for DownloadFile
impl !Sync for DownloadFile
impl Unpin for DownloadFile
impl !UnwindSafe for DownloadFile
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