pub struct DownloadResult<PullError, PushError> {
pub event_chain: AsyncReceiver<Event<PullError, PushError>>,
/* private fields */
}
Fields§
§event_chain: AsyncReceiver<Event<PullError, PushError>>
Implementations§
Source§impl<PullError, PushError> DownloadResult<PullError, PushError>
impl<PullError, PushError> DownloadResult<PullError, PushError>
pub fn new( event_chain: AsyncReceiver<Event<PullError, PushError>>, handle: JoinHandle<()>, abort_handles: &[AbortHandle], ) -> Self
pub fn abort(&self)
Trait Implementations§
Source§impl<RE, WE> Clone for DownloadResult<RE, WE>
impl<RE, WE> Clone for DownloadResult<RE, WE>
Auto Trait Implementations§
impl<PullError, PushError> Freeze for DownloadResult<PullError, PushError>
impl<PullError, PushError> !RefUnwindSafe for DownloadResult<PullError, PushError>
impl<PullError, PushError> Send for DownloadResult<PullError, PushError>
impl<PullError, PushError> Sync for DownloadResult<PullError, PushError>
impl<PullError, PushError> Unpin for DownloadResult<PullError, PushError>
impl<PullError, PushError> !UnwindSafe for DownloadResult<PullError, PushError>
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