pub struct LimitsConfig {
pub max_memory_bytes: u64,
pub max_stream_bytes: u64,
pub max_stream_name_bytes: usize,
pub max_stream_name_segments: usize,
}Expand description
Limits enforced by the server.
Fields§
§max_memory_bytes: u64Maximum total in-process payload bytes across all streams.
max_stream_bytes: u64Maximum payload bytes retained for any single stream.
max_stream_name_bytes: usizeMaximum byte length of a stream name.
max_stream_name_segments: usizeMaximum number of /-separated segments in a stream name.
Trait Implementations§
Source§impl Clone for LimitsConfig
impl Clone for LimitsConfig
Source§fn clone(&self) -> LimitsConfig
fn clone(&self) -> LimitsConfig
Returns a duplicate 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 LimitsConfig
impl Debug for LimitsConfig
Source§impl PartialEq for LimitsConfig
impl PartialEq for LimitsConfig
Source§impl Serialize for LimitsConfig
impl Serialize for LimitsConfig
impl Eq for LimitsConfig
impl StructuralPartialEq for LimitsConfig
Auto Trait Implementations§
impl Freeze for LimitsConfig
impl RefUnwindSafe for LimitsConfig
impl Send for LimitsConfig
impl Sync for LimitsConfig
impl Unpin for LimitsConfig
impl UnsafeUnpin for LimitsConfig
impl UnwindSafe for LimitsConfig
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§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.