pub struct DownloadEntry {
pub id: u64,
pub filename: String,
pub mime: String,
pub url: String,
pub size: u64,
pub error: Option<String>,
pub done: bool,
}Expand description
A captured download intent, without its payload. Listed by
Engine::download_list so an agent can see what the page tried
to save before committing to reading any of it.
Fields§
§id: u64§filename: String§mime: String§url: String§size: u64§error: Option<String>Some(msg) when the capture failed (revoked blob, HTTP error,
over the size cap). The entry is kept so the failure is visible
instead of the download silently vanishing.
done: boolTrait Implementations§
Source§impl Clone for DownloadEntry
impl Clone for DownloadEntry
Source§impl Debug for DownloadEntry
impl Debug for DownloadEntry
impl Eq for DownloadEntry
Source§impl PartialEq for DownloadEntry
impl PartialEq for DownloadEntry
impl StructuralPartialEq for DownloadEntry
Auto Trait Implementations§
impl Forget for DownloadEntry
impl Freeze for DownloadEntry
impl Move for DownloadEntry
impl RefUnwindSafe for DownloadEntry
impl Send for DownloadEntry
impl Sync for DownloadEntry
impl Unpin for DownloadEntry
impl UnsafeUnpin for DownloadEntry
impl UnwindSafe for DownloadEntry
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