pub enum AccountDisposition {
Keep,
Advance,
}Expand description
Whether the account a request went out on can still take it
(crates/kernel/spec/Error.lean D53).
A second answer beside Retry rather than a reading of it:
a rejected key and a request the provider calls malformed are both
Retry::No, and only the first is mended by another account. On the
wire "keep" or "advance"; Keep is left out, so a record written
before this field existed reads as Keep and keeps its bytes.
Variants§
Keep
This failure says nothing about the account: whether the request
goes out again is retry’s answer alone.
Advance
This account cannot take the request - its key was rejected, its quota is used up, or its credential is missing - and the next account may.
Trait Implementations§
Source§impl Clone for AccountDisposition
impl Clone for AccountDisposition
impl Copy for AccountDisposition
Source§impl Debug for AccountDisposition
impl Debug for AccountDisposition
Source§impl Default for AccountDisposition
impl Default for AccountDisposition
Source§impl<'de> Deserialize<'de> for AccountDisposition
impl<'de> Deserialize<'de> for AccountDisposition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AccountDisposition
Source§impl PartialEq for AccountDisposition
impl PartialEq for AccountDisposition
Source§impl Serialize for AccountDisposition
impl Serialize for AccountDisposition
impl StructuralPartialEq for AccountDisposition
Auto Trait Implementations§
impl Freeze for AccountDisposition
impl RefUnwindSafe for AccountDisposition
impl Send for AccountDisposition
impl Sync for AccountDisposition
impl Unpin for AccountDisposition
impl UnsafeUnpin for AccountDisposition
impl UnwindSafe for AccountDisposition
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