pub struct FrameCommitError<F> { /* private fields */ }Expand description
Failed atomic commit preserving both the permit and exact unsent frame.
Implementations§
Source§impl<F> FrameCommitError<F>
impl<F> FrameCommitError<F>
Sourcepub const fn failure(&self) -> FrameCommitFailure
pub const fn failure(&self) -> FrameCommitFailure
Returns the mechanical rejection reason.
Sourcepub const fn delivery(&self) -> Delivery
pub const fn delivery(&self) -> Delivery
Returns certainty for a frame never accepted by the writer.
Sourcepub fn into_parts(self) -> (OperationPermit, F)
pub fn into_parts(self) -> (OperationPermit, F)
Recovers the still-affine permit and exact unadmitted frame.
Trait Implementations§
Source§impl<F> Debug for FrameCommitError<F>where
F: Debug,
impl<F> Debug for FrameCommitError<F>where
F: Debug,
Source§impl<F> Display for FrameCommitError<F>
impl<F> Display for FrameCommitError<F>
Source§impl<F: Debug> Error for FrameCommitError<F>
impl<F: Debug> Error for FrameCommitError<F>
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl<F> !RefUnwindSafe for FrameCommitError<F>
impl<F> !Send for FrameCommitError<F>
impl<F> !Sync for FrameCommitError<F>
impl<F> !UnwindSafe for FrameCommitError<F>
impl<F> Freeze for FrameCommitError<F>where
F: Freeze,
impl<F> Unpin for FrameCommitError<F>where
F: Unpin,
impl<F> UnsafeUnpin for FrameCommitError<F>where
F: UnsafeUnpin,
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