pub enum Rejected {
Malformed(String),
Known,
Bonded,
Expired,
TooFarAhead,
LowFee(u32),
Invalid(VerifyError),
TooManyFromSigner,
Full,
}Expand description
受け付けなかったわけ
Variants§
Malformed(String)
トランザクションとして読めない
Known
もう持っている
Bonded
アグリゲートボンデッドは直接は扱わない(連署を待つものの置き場で揃ったものだけを受け付ける)
Expired
期限が過ぎている
TooFarAhead
期限が、今から maxTransactionLifetime より先
LowFee(u32)
手数料の倍率が、受け付ける下限より低い
Invalid(VerifyError)
署名、連署、規則のどれかが通らない
TooManyFromSigner
同じ署名者のものを、もう上限まで持っている
Full
いっぱいで、追い出せるほど手数料の低いものもない
Trait Implementations§
Source§impl Error for Rejected
impl Error for Rejected
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 Freeze for Rejected
impl RefUnwindSafe for Rejected
impl Send for Rejected
impl Sync for Rejected
impl Unpin for Rejected
impl UnsafeUnpin for Rejected
impl UnwindSafe for Rejected
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more