pub struct MemoryLimits;Expand description
Capacity limits for memory operations.
Implementations§
Source§impl MemoryLimits
impl MemoryLimits
Sourcepub const MAX_CONTENT_LENGTH: usize = 2_000
pub const MAX_CONTENT_LENGTH: usize = 2_000
Max characters in memory content field.
Sourcepub const MAX_IMAGE_PARTS: usize = 4
pub const MAX_IMAGE_PARTS: usize = 4
Max image content parts per memory.
Sourcepub const MAX_IMAGE_SIZE: usize
pub const MAX_IMAGE_SIZE: usize
Max single image size (5 MB base64).
Sourcepub const MAX_TOTAL_IMAGE_SIZE: usize
pub const MAX_TOTAL_IMAGE_SIZE: usize
Max total image data per memory (10 MB base64).
Sourcepub const MAX_MEMORIES_PER_STORE: usize = 10_000
pub const MAX_MEMORIES_PER_STORE: usize = 10_000
Max active memories per store.
Sourcepub const MAX_STORES_PER_ORG: usize = 50
pub const MAX_STORES_PER_ORG: usize = 50
Max stores per org.
Auto Trait Implementations§
impl Freeze for MemoryLimits
impl RefUnwindSafe for MemoryLimits
impl Send for MemoryLimits
impl Sync for MemoryLimits
impl Unpin for MemoryLimits
impl UnsafeUnpin for MemoryLimits
impl UnwindSafe for MemoryLimits
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> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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> 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