pub struct FloorWrites<'c> { /* private fields */ }Expand description
One fold’s floor writes, made by write_folded_heads in a single transaction.
Implementations§
Source§impl FloorWrites<'_>
impl FloorWrites<'_>
pub fn set( &mut self, entity_id: &str, version: u64, self_hash: &[u8; 32], inner_id: &[u8; 32], author: &[u8; 32], epoch: u64, family: &str, ) -> Result<(), String>
pub fn converge( &mut self, entity_id: &str, version: u64, self_hash: &[u8; 32], inner_id: &[u8; 32], author: &[u8; 32], epoch: u64, family: &str, ) -> Result<(), String>
pub fn rebase( &mut self, entity_id: &str, version: u64, self_hash: &[u8; 32], inner_id: &[u8; 32], author: &[u8; 32], epoch: u64, family: &str, ) -> Result<(), String>
Auto Trait Implementations§
impl<'c> !RefUnwindSafe for FloorWrites<'c>
impl<'c> !Send for FloorWrites<'c>
impl<'c> !Sync for FloorWrites<'c>
impl<'c> !UnwindSafe for FloorWrites<'c>
impl<'c> Forget for FloorWrites<'c>
impl<'c> Freeze for FloorWrites<'c>
impl<'c> Move for FloorWrites<'c>
impl<'c> Unpin for FloorWrites<'c>
impl<'c> UnsafeUnpin for FloorWrites<'c>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more