pub struct RemoteReplyDecodeLimits {
pub shape: RemoteOutcomeShape,
pub max_bytes: u64,
pub max_items: u64,
pub max_collection_members: u64,
}Expand description
Caller limits checked before a typed remote outcome is allocated.
Fields§
§shape: RemoteOutcomeShapeExpected success outcome shape.
max_bytes: u64Maximum authenticated successful outer-reply bytes accepted by the caller.
Request-bound failure envelopes remain subject to the protocol hard ceiling so their typed diagnostic can be surfaced at any success budget.
max_items: u64Maximum rows, documents, count value, or positive existence item accepted by the caller.
max_collection_members: u64Maximum aggregate list members accepted across fetched documents.
Trait Implementations§
Source§impl Clone for RemoteReplyDecodeLimits
impl Clone for RemoteReplyDecodeLimits
Source§fn clone(&self) -> RemoteReplyDecodeLimits
fn clone(&self) -> RemoteReplyDecodeLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RemoteReplyDecodeLimits
Source§impl Debug for RemoteReplyDecodeLimits
impl Debug for RemoteReplyDecodeLimits
impl Eq for RemoteReplyDecodeLimits
Source§impl PartialEq for RemoteReplyDecodeLimits
impl PartialEq for RemoteReplyDecodeLimits
impl StructuralPartialEq for RemoteReplyDecodeLimits
Auto Trait Implementations§
impl Freeze for RemoteReplyDecodeLimits
impl RefUnwindSafe for RemoteReplyDecodeLimits
impl Send for RemoteReplyDecodeLimits
impl Sync for RemoteReplyDecodeLimits
impl Unpin for RemoteReplyDecodeLimits
impl UnsafeUnpin for RemoteReplyDecodeLimits
impl UnwindSafe for RemoteReplyDecodeLimits
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