[][src]Struct actor_es::TimeTraveler

pub struct TimeTraveler<'a, M: Model> { /* fields omitted */ }

A wrapper for a stored entity that applies changes until the specified moment in time.

Implementations

impl<'a, M: Model> TimeTraveler<'a, M>[src]

pub async fn to_present(self) -> CommitResult<M>[src]

pub async fn travel_to(self, _until: DateTime<Utc>) -> CommitResult<M>[src]

Trait Implementations

impl<M: Model, '_> Debug for TimeTraveler<'_, M>[src]

Auto Trait Implementations

impl<'a, M> !RefUnwindSafe for TimeTraveler<'a, M>

impl<'a, M> Send for TimeTraveler<'a, M>

impl<'a, M> !Sync for TimeTraveler<'a, M>

impl<'a, M> Unpin for TimeTraveler<'a, M> where
    M: Unpin

impl<'a, M> !UnwindSafe for TimeTraveler<'a, M>

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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,