pub struct JitControllerConfig {
pub filepath: Option<String>,
pub cache_enabled: bool,
}Fields§
§filepath: Option<String>Optional path to a .deq.jit library file. When omitted the controller
starts with an empty library and the caller is expected to load
libraries dynamically via the load_library RPC (this is the typical
path for in-process Python use).
cache_enabled: boolcache the generated deq-bin and try to reuse them instead of creating new ones. this will help the coordinator to find cached decoder results and speed up decoding, but may cause memory bloat if there are many unique check models and error models.
Trait Implementations§
Source§impl Clone for JitControllerConfig
impl Clone for JitControllerConfig
Source§impl Debug for JitControllerConfig
impl Debug for JitControllerConfig
Source§impl<'de> Deserialize<'de> for JitControllerConfig
impl<'de> Deserialize<'de> for JitControllerConfig
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 Forget for JitControllerConfig
impl Freeze for JitControllerConfig
impl Move for JitControllerConfig
impl RefUnwindSafe for JitControllerConfig
impl Send for JitControllerConfig
impl Sync for JitControllerConfig
impl Unpin for JitControllerConfig
impl UnsafeUnpin for JitControllerConfig
impl UnwindSafe for JitControllerConfig
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> 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