#[non_exhaustive]pub struct LocalAirdropConfig {
pub raw_amount: u128,
pub attempt_capacity: usize,
pub max_concurrency: usize,
pub request_timeout: Duration,
}Expand description
Resource bounds and transfer amount for the optional local airdrop RPC.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.raw_amount: u128Native amount transferred by each logical attempt.
attempt_capacity: usizeMaximum retained requests for the chain lifetime; completed requests remain retained.
max_concurrency: usizeMaximum concurrently advancing attempts.
request_timeout: DurationEnd-to-end backend deadline for one attempt advancement.
Trait Implementations§
Source§impl Clone for LocalAirdropConfig
impl Clone for LocalAirdropConfig
impl Copy for LocalAirdropConfig
Source§impl Debug for LocalAirdropConfig
impl Debug for LocalAirdropConfig
Source§impl Default for LocalAirdropConfig
impl Default for LocalAirdropConfig
impl Eq for LocalAirdropConfig
Source§impl PartialEq for LocalAirdropConfig
impl PartialEq for LocalAirdropConfig
impl StructuralPartialEq for LocalAirdropConfig
Auto Trait Implementations§
impl Freeze for LocalAirdropConfig
impl RefUnwindSafe for LocalAirdropConfig
impl Send for LocalAirdropConfig
impl Sync for LocalAirdropConfig
impl Unpin for LocalAirdropConfig
impl UnsafeUnpin for LocalAirdropConfig
impl UnwindSafe for LocalAirdropConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.