pub struct ChapterDownloadTask { /* private fields */ }Trait Implementations§
Source§impl Actor for ChapterDownloadTask
impl Actor for ChapterDownloadTask
Source§type Context = Context<ChapterDownloadTask>
type Context = Context<ChapterDownloadTask>
Actor execution context type
Source§fn stopping(&mut self, _ctx: &mut Self::Context) -> Running
fn stopping(&mut self, _ctx: &mut Self::Context) -> Running
Called after an actor is in
Actor::Stopping state. Read moreSource§fn started(&mut self, ctx: &mut Self::Context)
fn started(&mut self, ctx: &mut Self::Context)
Called when an actor gets polled the first time.
Source§fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>
fn start_in_arbiter<F>(wrk: &ArbiterHandle, f: F) -> Addr<Self>
Start new actor in arbiter’s thread.
Source§impl CanBeWaited for ChapterDownloadTask
impl CanBeWaited for ChapterDownloadTask
Source§impl Cancelable for ChapterDownloadTask
impl Cancelable for ChapterDownloadTask
Source§impl Debug for ChapterDownloadTask
impl Debug for ChapterDownloadTask
Source§impl Drop for ChapterDownloadTask
impl Drop for ChapterDownloadTask
Source§impl Handler<DownloadMode> for ChapterDownloadTask
impl Handler<DownloadMode> for ChapterDownloadTask
Source§impl Handler<StartDownload> for ChapterDownloadTask
impl Handler<StartDownload> for ChapterDownloadTask
Source§impl Handler<SubcribeMessage<DownloadTaskState<ApiObject<ChapterAttributes>, ChapterDownloadingState>>> for ChapterDownloadTask
impl Handler<SubcribeMessage<DownloadTaskState<ApiObject<ChapterAttributes>, ChapterDownloadingState>>> for ChapterDownloadTask
Source§type Result = <SubcribeMessage<DownloadTaskState<ApiObject<ChapterAttributes>, ChapterDownloadingState>> as Message>::Result
type Result = <SubcribeMessage<DownloadTaskState<ApiObject<ChapterAttributes>, ChapterDownloadingState>> as Message>::Result
The type of value that this handler will return. Read more
Source§impl Handler<WaitForFinishedMessage<ApiObject<ChapterAttributes>, ChapterDownloadingState>> for ChapterDownloadTask
impl Handler<WaitForFinishedMessage<ApiObject<ChapterAttributes>, ChapterDownloadingState>> for ChapterDownloadTask
Source§type Result = <WaitForFinishedMessage<ApiObject<ChapterAttributes>, ChapterDownloadingState> as Message>::Result
type Result = <WaitForFinishedMessage<ApiObject<ChapterAttributes>, ChapterDownloadingState> as Message>::Result
The type of value that this handler will return. Read more
Source§impl State for ChapterDownloadTask
impl State for ChapterDownloadTask
type State = DownloadTaskState<ApiObject<ChapterAttributes>, ChapterDownloadingState>
fn inner_state(&self) -> Self::State
fn state(&self) -> TaskState
Source§impl Subscribe for ChapterDownloadTask
impl Subscribe for ChapterDownloadTask
fn subscribe( &mut self, subscriber: MaybeWeakRecipient<TaskSubscriberMessages<Self::State>>, )
Auto Trait Implementations§
impl !RefUnwindSafe for ChapterDownloadTask
impl !UnwindSafe for ChapterDownloadTask
impl Freeze for ChapterDownloadTask
impl Send for ChapterDownloadTask
impl Sync for ChapterDownloadTask
impl Unpin for ChapterDownloadTask
impl UnsafeUnpin for ChapterDownloadTask
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
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more