pub enum BatchRequestConfig {
Disabled,
Limit(u32),
Unlimited,
}
Expand description
Configuration for batch request handling.
Variants§
Disabled
Batch requests are disabled.
Limit(u32)
Each batch request is limited to len
and any batch request bigger than len
will not be processed.
Unlimited
The batch request is unlimited.
Trait Implementations§
source§impl Clone for BatchRequestConfig
impl Clone for BatchRequestConfig
source§fn clone(&self) -> BatchRequestConfig
fn clone(&self) -> BatchRequestConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BatchRequestConfig
impl Debug for BatchRequestConfig
impl Copy for BatchRequestConfig
Auto Trait Implementations§
impl Freeze for BatchRequestConfig
impl RefUnwindSafe for BatchRequestConfig
impl Send for BatchRequestConfig
impl Sync for BatchRequestConfig
impl Unpin for BatchRequestConfig
impl UnwindSafe for BatchRequestConfig
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)