pub struct RecordsLimits {
pub max_records: u64,
pub max_tables: u64,
pub max_output_bytes: u64,
}Expand description
Ceilings for the records worker, held as rules data beside the
container limits so a deployment raises them in a visible versioned
bump. The parent reads them from the registry and passes them into
the jailed worker, which enforces them and fails a source over any
ceiling with reason record-limit-exceeded.
Fields§
§max_records: u64Records per parquet or avro file, and per sqlite table.
max_tables: u64Tables per sqlite database.
max_output_bytes: u64Rendered output bytes. Under the runner’s response cap.
Trait Implementations§
Source§impl Clone for RecordsLimits
impl Clone for RecordsLimits
Source§fn clone(&self) -> RecordsLimits
fn clone(&self) -> RecordsLimits
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 moreSource§impl Debug for RecordsLimits
impl Debug for RecordsLimits
Source§impl Default for RecordsLimits
impl Default for RecordsLimits
Source§fn default() -> RecordsLimits
fn default() -> RecordsLimits
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecordsLimits
impl<'de> Deserialize<'de> for RecordsLimits
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RecordsLimits
impl RefUnwindSafe for RecordsLimits
impl Send for RecordsLimits
impl Sync for RecordsLimits
impl Unpin for RecordsLimits
impl UnsafeUnpin for RecordsLimits
impl UnwindSafe for RecordsLimits
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 more