Struct Worker Callback Timeouts
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
pub struct WorkerCallbackTimeouts {
pub default_ms: Option<NonZeroU64>,
pub by_name: BTreeMap<String, NonZeroU64>,
}
Time limits for short worker callbacks, in milliseconds, enforced by the host.
Fields
default_ms: Option<NonZeroU64>
Default deadline for this plugin. If omitted, the host uses 30 seconds.
by_name: BTreeMap<String, NonZeroU64>
Deadline overrides for exact callback registration names.
Trait Implementations
impl Clone for WorkerCallbackTimeouts
impl Clone for WorkerCallbackTimeouts
clone
fn clone(&self) -> WorkerCallbackTimeouts
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for WorkerCallbackTimeouts
impl Debug for WorkerCallbackTimeouts
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for WorkerCallbackTimeouts
impl Default for WorkerCallbackTimeouts
default
fn default() -> WorkerCallbackTimeouts
impl<'de> Deserialize<'de> for WorkerCallbackTimeouts
impl<'de> Deserialize<'de> for WorkerCallbackTimeouts
deserialize
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl JsonSchema for WorkerCallbackTimeouts
impl JsonSchema for WorkerCallbackTimeouts
schema_name
fn schema_name() -> String
schema_id
fn schema_id() -> Cow<'static, str>
json_schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
is_referenceable
fn is_referenceable() -> bool
impl PartialEq for WorkerCallbackTimeouts
impl PartialEq for WorkerCallbackTimeouts
eq
fn eq(&self, other: &WorkerCallbackTimeouts) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for WorkerCallbackTimeouts
impl Serialize for WorkerCallbackTimeouts
serialize
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
impl Eq for WorkerCallbackTimeouts
impl Eq for WorkerCallbackTimeouts
impl StructuralPartialEq for WorkerCallbackTimeouts
impl StructuralPartialEq for WorkerCallbackTimeouts