Enum rustup_private_download::Event
source · pub enum Event<'a> {
ResumingPartialDownload,
DownloadContentLengthReceived(u64),
DownloadDataReceived(&'a [u8]),
}
Variants
ResumingPartialDownload
DownloadContentLengthReceived(u64)
Received the Content-Length of the to-be downloaded data.
DownloadDataReceived(&'a [u8])
Received some data.
Trait Implementations
impl<'a> Copy for Event<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Event<'a>
impl<'a> Send for Event<'a>
impl<'a> Sync for Event<'a>
impl<'a> Unpin for Event<'a>
impl<'a> UnwindSafe for Event<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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