#[non_exhaustive]pub struct EventServiceLimits {
pub max_owners: usize,
pub max_interests_per_owner: usize,
pub max_addresses_per_log_interest: usize,
pub max_values_per_topic: usize,
pub max_bounded_backfill_blocks: u64,
pub max_identifier_bytes: usize,
pub max_total_interests: usize,
pub max_total_filter_values: usize,
pub max_desired_state_bytes: usize,
pub max_delivery_bytes: usize,
pub max_active_sessions: usize,
pub max_persisted_sessions: usize,
}Expand description
Resource policy enforced before desired state reaches a provider.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.max_owners: usizeMaximum owners in one desired state.
max_interests_per_owner: usizeMaximum portable interests attached to one owner.
max_addresses_per_log_interest: usizeMaximum address alternatives in one log interest.
max_values_per_topic: usizeMaximum alternatives in one indexed log topic.
max_bounded_backfill_blocks: u64Maximum number of blocks in one explicitly bounded backfill.
max_identifier_bytes: usizeMaximum UTF-8 bytes in a session or owner identifier.
max_total_interests: usizeMaximum interests across the entire desired state.
max_total_filter_values: usizeMaximum address and topic alternatives across the desired state.
max_desired_state_bytes: usizeMaximum encoded desired-state size accepted from a client.
max_delivery_bytes: usizeMaximum encoded delivery size persisted or sent to a client.
max_active_sessions: usizeMaximum simultaneously leased session streams.
max_persisted_sessions: usizeMaximum durable session identities retained in the SQLite authority.
Trait Implementations§
Source§impl Clone for EventServiceLimits
impl Clone for EventServiceLimits
Source§fn clone(&self) -> EventServiceLimits
fn clone(&self) -> EventServiceLimits
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 EventServiceLimits
Source§impl Debug for EventServiceLimits
impl Debug for EventServiceLimits
Source§impl Default for EventServiceLimits
impl Default for EventServiceLimits
Source§fn default() -> EventServiceLimits
fn default() -> EventServiceLimits
Returns the “default value” for a type. Read more
impl Eq for EventServiceLimits
Source§impl PartialEq for EventServiceLimits
impl PartialEq for EventServiceLimits
impl StructuralPartialEq for EventServiceLimits
Auto Trait Implementations§
impl Freeze for EventServiceLimits
impl RefUnwindSafe for EventServiceLimits
impl Send for EventServiceLimits
impl Sync for EventServiceLimits
impl Unpin for EventServiceLimits
impl UnsafeUnpin for EventServiceLimits
impl UnwindSafe for EventServiceLimits
Blanket Implementations§
impl<T> Allocation for T
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request