pub struct SetTime<St: State = Empty>(/* private fields */);Expand description
State transition - sets the time field to Set
Trait Implementations§
Source§impl<St: State> State for SetTime<St>
impl<St: State> State for SetTime<St>
type Blobs = <St as State>::Blobs
type Blocks = <St as State>::Blocks
type Commit = <St as State>::Commit
type Ops = <St as State>::Ops
type Rebase = <St as State>::Rebase
type Repo = <St as State>::Repo
type Rev = <St as State>::Rev
type Seq = <St as State>::Seq
type Time = Set<time>
type TooBig = <St as State>::TooBig
Auto Trait Implementations§
impl<St> Freeze for SetTime<St>
impl<St> RefUnwindSafe for SetTime<St>
impl<St> Send for SetTime<St>
impl<St> Sync for SetTime<St>
impl<St> Unpin for SetTime<St>
impl<St> UnsafeUnpin for SetTime<St>
impl<St> UnwindSafe for SetTime<St>
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