pub struct WatchersRequest {
pub sys_path: Vec<String>,
pub block_limit_ms: u64,
pub import_limit_ms: u64,
pub poke_overruns: u32,
}Expand description
A watcher host’s request: what it holds for its whole life (decision 320).
Fields§
§sys_path: Vec<String>Directories put first on sys.path (every DAG root’s copy).
block_limit_ms: u64How long a watcher may hold the event loop ([watchers] block_limit).
import_limit_ms: u64How long importing a DAG file may hold it ([dags] parse_file_timeout).
poke_overruns: u32After how many calls in a row past its every a sensor’s poke fails ([watchers] poke_overruns).
Trait Implementations§
Source§impl Clone for WatchersRequest
impl Clone for WatchersRequest
Source§fn clone(&self) -> WatchersRequest
fn clone(&self) -> WatchersRequest
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 WatchersRequest
impl Debug for WatchersRequest
Source§impl<'de> Deserialize<'de> for WatchersRequest
impl<'de> Deserialize<'de> for WatchersRequest
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
impl Eq for WatchersRequest
Source§impl JsonSchema for WatchersRequest
impl JsonSchema for WatchersRequest
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for WatchersRequest
impl PartialEq for WatchersRequest
Source§impl Serialize for WatchersRequest
impl Serialize for WatchersRequest
impl StructuralPartialEq for WatchersRequest
Auto Trait Implementations§
impl Freeze for WatchersRequest
impl RefUnwindSafe for WatchersRequest
impl Send for WatchersRequest
impl Sync for WatchersRequest
impl Unpin for WatchersRequest
impl UnsafeUnpin for WatchersRequest
impl UnwindSafe for WatchersRequest
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