#[repr(C)]pub struct C_CommitResult {
pub commit_ts: u64,
pub error_code: i32,
}Expand description
C-compatible Commit Result Returns commit_ts on success, or 0 with error_code on failure
Fields§
§commit_ts: u64Commit timestamp (HLC-backed, monotonically increasing) This is 0 if the commit failed.
error_code: i32Error code: 0 = success, -1 = error, -2 = SSI conflict
Auto Trait Implementations§
impl Freeze for C_CommitResult
impl RefUnwindSafe for C_CommitResult
impl Send for C_CommitResult
impl Sync for C_CommitResult
impl Unpin for C_CommitResult
impl UnwindSafe for C_CommitResult
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