pub struct ChapterDownloadMessage { /* private fields */ }Implementations§
Source§impl ChapterDownloadMessage
impl ChapterDownloadMessage
pub fn new(id: Uuid) -> Self
pub fn state(self, state: DownloadMessageState) -> Self
pub fn mode<M: Into<DownloadMode>>(self, mode: M) -> Self
pub fn force_port_443(self, force_port_443: bool) -> Self
Trait Implementations§
Source§impl Clone for ChapterDownloadMessage
impl Clone for ChapterDownloadMessage
Source§fn clone(&self) -> ChapterDownloadMessage
fn clone(&self) -> ChapterDownloadMessage
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 Copy for ChapterDownloadMessage
Source§impl Debug for ChapterDownloadMessage
impl Debug for ChapterDownloadMessage
Source§impl From<ChapterDownloadMessage> for Uuid
impl From<ChapterDownloadMessage> for Uuid
Source§fn from(value: ChapterDownloadMessage) -> Self
fn from(value: ChapterDownloadMessage) -> Self
Converts to this type from the input type.
Source§impl From<Uuid> for ChapterDownloadMessage
impl From<Uuid> for ChapterDownloadMessage
Source§impl Message for ChapterDownloadMessage
impl Message for ChapterDownloadMessage
Source§type Result = Addr<<ChapterDownloadManager as TaskManager>::Task>
type Result = Addr<<ChapterDownloadManager as TaskManager>::Task>
The type of value that this message will resolved with if it is
successful.
Auto Trait Implementations§
impl Freeze for ChapterDownloadMessage
impl RefUnwindSafe for ChapterDownloadMessage
impl Send for ChapterDownloadMessage
impl Sync for ChapterDownloadMessage
impl Unpin for ChapterDownloadMessage
impl UnsafeUnpin for ChapterDownloadMessage
impl UnwindSafe for ChapterDownloadMessage
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,
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