pub struct CcipReadConfig {
pub max_redirects: usize,
pub max_batch_size: usize,
pub max_concurrent_requests: usize,
pub max_total_requests: usize,
pub max_gateway_urls: usize,
pub max_revert_data_size: usize,
pub max_response_size: usize,
}ccip-read only.Expand description
Limits applied to a CCIP Read call.
Fields§
§max_redirects: usizeMaximum number of OffchainLookup redirects followed for one call.
max_batch_size: usizeMaximum number of requests accepted in one ENSIP-21 batch.
max_concurrent_requests: usizeMaximum number of concurrent gateway requests, including nested ENSIP-21 batches.
max_total_requests: usizeMaximum number of gateway URL attempts and batch nodes budgeted for one call.
max_gateway_urls: usizeMaximum number of fallback gateway URLs accepted in one request.
max_revert_data_size: usizeMaximum accepted OffchainLookup revert and nested batch data size in bytes.
Also bounds decoded dynamic data and array offset tables before allocation. Repeated references to the same ABI data are charged separately, including lossy UTF-8 expansion.
max_response_size: usizeMaximum accepted gateway response size in bytes.
Trait Implementations§
Source§impl Clone for CcipReadConfig
impl Clone for CcipReadConfig
Source§fn clone(&self) -> CcipReadConfig
fn clone(&self) -> CcipReadConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CcipReadConfig
impl Debug for CcipReadConfig
Auto Trait Implementations§
impl Freeze for CcipReadConfig
impl RefUnwindSafe for CcipReadConfig
impl Send for CcipReadConfig
impl Sync for CcipReadConfig
impl Unpin for CcipReadConfig
impl UnsafeUnpin for CcipReadConfig
impl UnwindSafe for CcipReadConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
Source§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> ⓘ
Source§fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
fn with_current_subscriber(self) -> WithDispatch<Self> ⓘ
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 56 bytes