pub enum SetCommitError {
Failed,
}Available on crate feature
agent only.Expand description
Failure from the SET commit phase.
The dedicated type prevents a commit callback from returning validation or
undo-only statuses. The agent maps this failure to commitFailed and uses
the failed varbind’s one-based index.
Variants§
Failed
Applying the prepared change failed and may have partially mutated state.
Implementations§
Source§impl SetCommitError
impl SetCommitError
Sourcepub const fn to_error_status(self) -> ErrorStatus
pub const fn to_error_status(self) -> ErrorStatus
Convert this commit failure to its protocol response status.
Trait Implementations§
Source§impl Clone for SetCommitError
impl Clone for SetCommitError
Source§fn clone(&self) -> SetCommitError
fn clone(&self) -> SetCommitError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SetCommitError
Source§impl Debug for SetCommitError
impl Debug for SetCommitError
impl Eq for SetCommitError
Source§impl PartialEq for SetCommitError
impl PartialEq for SetCommitError
impl StructuralPartialEq for SetCommitError
Auto Trait Implementations§
impl Freeze for SetCommitError
impl RefUnwindSafe for SetCommitError
impl Send for SetCommitError
impl Sync for SetCommitError
impl Unpin for SetCommitError
impl UnsafeUnpin for SetCommitError
impl UnwindSafe for SetCommitError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.