Expand description
Context struct for when a download completes.
Fields
total: off_t
Total bytes in file
result: c_int
download result code: 0 - download completed successfully 1 - the file is up-to-date -1 - error
Trait Implementations
sourceimpl Clone for _alpm_download_event_completed_t
impl Clone for _alpm_download_event_completed_t
sourcefn clone(&self) -> _alpm_download_event_completed_t
fn clone(&self) -> _alpm_download_event_completed_t
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for _alpm_download_event_completed_t
Auto Trait Implementations
impl RefUnwindSafe for _alpm_download_event_completed_t
impl Send for _alpm_download_event_completed_t
impl Sync for _alpm_download_event_completed_t
impl Unpin for _alpm_download_event_completed_t
impl UnwindSafe for _alpm_download_event_completed_t
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more