pub struct GetTaskMessage<T> { /* private fields */ }Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for GetTaskMessage<T>
impl<T: Clone> Clone for GetTaskMessage<T>
Source§fn clone(&self) -> GetTaskMessage<T>
fn clone(&self) -> GetTaskMessage<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<T: Copy> Copy for GetTaskMessage<T>
Source§impl<T: Debug> Debug for GetTaskMessage<T>
impl<T: Debug> Debug for GetTaskMessage<T>
impl<T: Eq> Eq for GetTaskMessage<T>
Source§impl<T> From<GetTaskMessage<T>> for Uuid
impl<T> From<GetTaskMessage<T>> for Uuid
Source§fn from(value: GetTaskMessage<T>) -> Self
fn from(value: GetTaskMessage<T>) -> Self
Converts to this type from the input type.
Source§impl<T> From<Uuid> for GetTaskMessage<T>
impl<T> From<Uuid> for GetTaskMessage<T>
Source§impl Handler<GetTaskMessage<ChapterDownloadTask>> for ChapterDownloadManager
impl Handler<GetTaskMessage<ChapterDownloadTask>> for ChapterDownloadManager
Source§type Result = <GetTaskMessage<ChapterDownloadTask> as Message>::Result
type Result = <GetTaskMessage<ChapterDownloadTask> as Message>::Result
The type of value that this handler will return. Read more
Source§fn handle(
&mut self,
msg: GetTaskMessage<ChapterDownloadTask>,
_ctx: &mut Self::Context,
) -> Self::Result
fn handle( &mut self, msg: GetTaskMessage<ChapterDownloadTask>, _ctx: &mut Self::Context, ) -> Self::Result
This method is called for every message received by this actor.
Source§impl Handler<GetTaskMessage<CoverDownloadTask>> for CoverDownloadManager
impl Handler<GetTaskMessage<CoverDownloadTask>> for CoverDownloadManager
Source§type Result = <GetTaskMessage<CoverDownloadTask> as Message>::Result
type Result = <GetTaskMessage<CoverDownloadTask> as Message>::Result
The type of value that this handler will return. Read more
Source§fn handle(
&mut self,
msg: GetTaskMessage<CoverDownloadTask>,
_ctx: &mut Self::Context,
) -> Self::Result
fn handle( &mut self, msg: GetTaskMessage<CoverDownloadTask>, _ctx: &mut Self::Context, ) -> Self::Result
This method is called for every message received by this actor.
Source§impl Handler<GetTaskMessage<MangaDownloadTask>> for MangaDownloadManager
impl Handler<GetTaskMessage<MangaDownloadTask>> for MangaDownloadManager
Source§type Result = <GetTaskMessage<MangaDownloadTask> as Message>::Result
type Result = <GetTaskMessage<MangaDownloadTask> as Message>::Result
The type of value that this handler will return. Read more
Source§fn handle(
&mut self,
msg: GetTaskMessage<MangaDownloadTask>,
_ctx: &mut Self::Context,
) -> Self::Result
fn handle( &mut self, msg: GetTaskMessage<MangaDownloadTask>, _ctx: &mut Self::Context, ) -> Self::Result
This method is called for every message received by this actor.
Source§impl<T: Hash> Hash for GetTaskMessage<T>
impl<T: Hash> Hash for GetTaskMessage<T>
Source§impl<T> Message for GetTaskMessage<T>where
T: Actor,
impl<T> Message for GetTaskMessage<T>where
T: Actor,
Source§impl<T: Ord> Ord for GetTaskMessage<T>
impl<T: Ord> Ord for GetTaskMessage<T>
Source§fn cmp(&self, other: &GetTaskMessage<T>) -> Ordering
fn cmp(&self, other: &GetTaskMessage<T>) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialEq> PartialEq for GetTaskMessage<T>
impl<T: PartialEq> PartialEq for GetTaskMessage<T>
Source§fn eq(&self, other: &GetTaskMessage<T>) -> bool
fn eq(&self, other: &GetTaskMessage<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<T: PartialOrd> PartialOrd for GetTaskMessage<T>
impl<T: PartialOrd> PartialOrd for GetTaskMessage<T>
impl<T: Actor> Send for GetTaskMessage<T>
impl<T> StructuralPartialEq for GetTaskMessage<T>
impl<T: Actor> Sync for GetTaskMessage<T>
Auto Trait Implementations§
impl<T> Freeze for GetTaskMessage<T>
impl<T> RefUnwindSafe for GetTaskMessage<T>where
T: RefUnwindSafe,
impl<T> Unpin for GetTaskMessage<T>where
T: Unpin,
impl<T> UnsafeUnpin for GetTaskMessage<T>
impl<T> UnwindSafe for GetTaskMessage<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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