[][src]Struct cron_tab::Entry

pub struct Entry<Z> where
    Z: Send + Sync + 'static,
    Z: TimeZone
{ pub id: i32, pub schedule: Schedule, pub next: Option<DateTime<Z>>, pub run: Arc<Mutex<dyn FnMut() + Send + Sync + 'static>>, }

Entry wrap data about the job

Fields

id: i32schedule: Schedulenext: Option<DateTime<Z>>run: Arc<Mutex<dyn FnMut() + Send + Sync + 'static>>

Trait Implementations

impl<Z: Clone> Clone for Entry<Z> where
    Z: Send + Sync + 'static,
    Z: TimeZone
[src]

Auto Trait Implementations

impl<Z> RefUnwindSafe for Entry<Z> where
    <Z as TimeZone>::Offset: RefUnwindSafe

impl<Z> Send for Entry<Z> where
    <Z as TimeZone>::Offset: Send

impl<Z> Sync for Entry<Z> where
    <Z as TimeZone>::Offset: Sync

impl<Z> Unpin for Entry<Z> where
    <Z as TimeZone>::Offset: Unpin

impl<Z> UnwindSafe for Entry<Z> where
    <Z as TimeZone>::Offset: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.