pub struct CallCeiling {
pub credit: u64,
pub max_items: u64,
pub max_bytes: u64,
}Expand description
The gate’s terms for a duplex call (plexus-auth-core), re-exported so a caller of this module needs no second import. How much one call may take in (BIDIR-1: “every item that flows has a limit”). Beside the transport’s per-connection call count, which counts a duplex call as one call.
Fields§
§credit: u64Credit granted with the call’s answer: items the caller may send before the callee grants more.
max_items: u64Input items over the call’s life.
max_bytes: u64Input bytes over the call’s life (each item as its JSON).
Trait Implementations§
Source§impl Clone for CallCeiling
impl Clone for CallCeiling
Source§fn clone(&self) -> CallCeiling
fn clone(&self) -> CallCeiling
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 CallCeiling
Source§impl Debug for CallCeiling
impl Debug for CallCeiling
Source§impl Default for CallCeiling
impl Default for CallCeiling
Source§fn default() -> CallCeiling
fn default() -> CallCeiling
Returns the “default value” for a type. Read more
impl Eq for CallCeiling
Source§impl PartialEq for CallCeiling
impl PartialEq for CallCeiling
impl StructuralPartialEq for CallCeiling
Auto Trait Implementations§
impl Freeze for CallCeiling
impl RefUnwindSafe for CallCeiling
impl Send for CallCeiling
impl Sync for CallCeiling
impl Unpin for CallCeiling
impl UnsafeUnpin for CallCeiling
impl UnwindSafe for CallCeiling
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.