pub struct GroupCommitFailure { /* private fields */ }Expand description
A provider commit failure with explicit asymmetric certainty.
Implementations§
Source§impl GroupCommitFailure
impl GroupCommitFailure
Sourcepub const fn new(
certainty: GroupCommitCertainty,
diagnostic: Diagnostic,
) -> Self
pub const fn new( certainty: GroupCommitCertainty, diagnostic: Diagnostic, ) -> Self
Construct a privacy-safe typed commit failure.
Sourcepub const fn certainty(&self) -> GroupCommitCertainty
pub const fn certainty(&self) -> GroupCommitCertainty
Return whether the provider proved non-commit or cannot know.
Sourcepub const fn diagnostic(&self) -> &Diagnostic
pub const fn diagnostic(&self) -> &Diagnostic
Return the provider diagnostic without runtime row evidence.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GroupCommitFailure
impl RefUnwindSafe for GroupCommitFailure
impl Send for GroupCommitFailure
impl Sync for GroupCommitFailure
impl Unpin for GroupCommitFailure
impl UnsafeUnpin for GroupCommitFailure
impl UnwindSafe for GroupCommitFailure
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