pub struct AsyncSchedulerBuilder { /* private fields */ }
Expand description
Builder for AsyncScheduler
.
Implementations§
Source§impl AsyncSchedulerBuilder
impl AsyncSchedulerBuilder
pub fn config<VALUE: Into<AsyncSchedulerConfig>>( &mut self, value: VALUE, ) -> &mut Self
Sourcepub fn build(&self) -> Result<AsyncScheduler, AsyncSchedulerBuilderError>
pub fn build(&self) -> Result<AsyncScheduler, AsyncSchedulerBuilderError>
Trait Implementations§
Source§impl Clone for AsyncSchedulerBuilder
impl Clone for AsyncSchedulerBuilder
Source§fn clone(&self) -> AsyncSchedulerBuilder
fn clone(&self) -> AsyncSchedulerBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for AsyncSchedulerBuilder
impl !RefUnwindSafe for AsyncSchedulerBuilder
impl Send for AsyncSchedulerBuilder
impl Sync for AsyncSchedulerBuilder
impl Unpin for AsyncSchedulerBuilder
impl !UnwindSafe for AsyncSchedulerBuilder
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