pub struct StoredRejection { /* private fields */ }Expand description
A storable rejection: a final code and its public message, with no error detail (so never an admission challenge).
Implementations§
Source§impl StoredRejection
impl StoredRejection
Sourcepub const fn is_storable(code: Code) -> bool
pub const fn is_storable(code: Code) -> bool
Whether a retry of the same nonce may get code back forever: only
outcomes that re-running cannot change. Retryable codes
(unavailable, which covers pending_verification, aborted,
resource_exhausted), transient or server-side ones (canceled,
deadline_exceeded, internal, unknown, data_loss) and
unauthenticated are re-run instead.
Trait Implementations§
Source§impl Clone for StoredRejection
impl Clone for StoredRejection
Source§impl Debug for StoredRejection
impl Debug for StoredRejection
impl Eq for StoredRejection
Source§impl PartialEq for StoredRejection
impl PartialEq for StoredRejection
impl StructuralPartialEq for StoredRejection
Auto Trait Implementations§
impl Freeze for StoredRejection
impl RefUnwindSafe for StoredRejection
impl Send for StoredRejection
impl Sync for StoredRejection
impl Unpin for StoredRejection
impl UnsafeUnpin for StoredRejection
impl UnwindSafe for StoredRejection
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