pub struct AgentsConfig {
pub max_per_owner: usize,
pub max_per_exchange: usize,
pub max_field_bytes: usize,
pub max_event_bytes: usize,
pub replay_page_rows: usize,
pub max_watchers: usize,
pub watcher_depth: usize,
pub watcher_bytes: usize,
pub max_listened_subjects: usize,
pub max_subject_bytes: usize,
}Expand description
[auth.lys.agents]. An absent block is distinct from a block using defaults.
Fields§
§max_per_owner: usizeDefault 8: one person’s assistant plus a hand of builders.
max_per_exchange: usizeDefault 64: one exchange’s console stays readable.
max_field_bytes: usizeDefault 512: identity, purpose and draft identifiers fit without admitting arbitrarily large strings to the metadata registry.
max_event_bytes: usizeDefault 16 KiB: one transition and its receipt fit in one store request.
replay_page_rows: usizeDefault 64: restoration reads history in bounded pages.
max_watchers: usizeDefault 256: metadata watchers cannot grow an unbounded actor population.
watcher_depth: usizeDefault 16: one watcher cannot retain an unbounded metadata backlog.
watcher_bytes: usizeDefault 256 KiB: non-wire watchers also have a positive byte budget.
max_listened_subjects: usizeDefault 32: one seat’s graph stops stay within a bounded subscription list.
max_subject_bytes: usizeDefault 4 KiB: each granted subject name has a bounded graph representation.
Implementations§
Source§impl AgentsConfig
impl AgentsConfig
Trait Implementations§
Source§impl Clone for AgentsConfig
impl Clone for AgentsConfig
impl Copy for AgentsConfig
Source§impl Debug for AgentsConfig
impl Debug for AgentsConfig
Source§impl Default for AgentsConfig
impl Default for AgentsConfig
Source§impl<'de> Deserialize<'de> for AgentsConfigwhere
AgentsConfig: Default,
impl<'de> Deserialize<'de> for AgentsConfigwhere
AgentsConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for AgentsConfig
Source§impl PartialEq for AgentsConfig
impl PartialEq for AgentsConfig
impl StructuralPartialEq for AgentsConfig
Auto Trait Implementations§
impl Freeze for AgentsConfig
impl RefUnwindSafe for AgentsConfig
impl Send for AgentsConfig
impl Sync for AgentsConfig
impl Unpin for AgentsConfig
impl UnsafeUnpin for AgentsConfig
impl UnwindSafe for AgentsConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
key and return true if they are equal.