pub struct CallCeiling {
pub credit: u64,
pub max_items: u64,
pub max_bytes: u64,
}Expand description
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
impl Copy for CallCeiling
Source§impl Debug for CallCeiling
impl Debug for CallCeiling
Source§impl Default for CallCeiling
impl Default for CallCeiling
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