Struct delay_timer::entity::DelayTimerBuilder [−][src]
Builds DelayTimer with custom configuration values.
Methods can be chained in order to set the configuration values. The
DelayTimer is constructed by calling build.
Examples
use delay_timer::entity::DelayTimerBuilder;
Implementations
impl DelayTimerBuilder[src]
pub fn build(mut self: Self) -> DelayTimer[src]
Build DelayTimer.
impl DelayTimerBuilder[src]
Required features
This function requires the tokio-support feature of the delay_timer
crate to be enabled.
pub fn tokio_runtime(mut self: Self, rt: Option<Arc<Runtime>>) -> Self[src]
This is supported on crate feature
tokio-support only.With this API, let DelayTimer internally use the user custom TokioRuntime. If None is given, a custom TokioRuntime is generated internally.
impl DelayTimerBuilder[src]
Required features
This function requires the status-report feature of the delay_timer
crate to be enabled.
pub fn enable_status_report(mut self: Self) -> Self[src]
This is supported on crate feature
status-report only.Whether to expose public events.
Trait Implementations
impl Clone for DelayTimerBuilder[src]
fn clone(&self) -> DelayTimerBuilder[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DelayTimerBuilder[src]
impl Default for DelayTimerBuilder[src]
fn default() -> DelayTimerBuilder[src]
Auto Trait Implementations
impl !RefUnwindSafe for DelayTimerBuilder[src]
impl Send for DelayTimerBuilder[src]
impl Sync for DelayTimerBuilder[src]
impl Unpin for DelayTimerBuilder[src]
impl !UnwindSafe for DelayTimerBuilder[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut Tⓘ[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,