pub struct RecordsSubprocess { /* private fields */ }Expand description
The records worker adapter: parquet, avro, and sqlite behind the sandbox runner.
The three readers pull large native parser trees with CVE
history, so they never run in this process. Each source stages
into the jail and the reader runs in the worker, where a panic
on hostile bytes crashes the child and records a failed outcome
without touching the pipeline. The ceilings come from the rules
and travel in the request, and a source over any ceiling fails
closed with reason record-limit-exceeded.
Implementations§
Source§impl RecordsSubprocess
impl RecordsSubprocess
Sourcepub fn new(limits: RecordsLimits) -> RecordsSubprocess
pub fn new(limits: RecordsLimits) -> RecordsSubprocess
An adapter over the rules-supplied ceilings.
Trait Implementations§
Source§impl Converter for RecordsSubprocess
impl Converter for RecordsSubprocess
Auto Trait Implementations§
impl Freeze for RecordsSubprocess
impl RefUnwindSafe for RecordsSubprocess
impl Send for RecordsSubprocess
impl Sync for RecordsSubprocess
impl Unpin for RecordsSubprocess
impl UnsafeUnpin for RecordsSubprocess
impl UnwindSafe for RecordsSubprocess
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> 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