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