Skip to main content

DarioRouter

Trait DarioRouter 

Source
pub trait DarioRouter: Send + Sync {
    // Required methods
    fn active(&self) -> Option<DarioActive>;
    fn begin(&self, generation_id: &str) -> Option<Box<dyn Any + Send>>;
    fn status(&self) -> Value;
    fn suspect(&self, generation_id: &str);
}

Required Methods§

Source

fn active(&self) -> Option<DarioActive>

Source

fn begin(&self, generation_id: &str) -> Option<Box<dyn Any + Send>>

Source

fn status(&self) -> Value

Source

fn suspect(&self, generation_id: &str)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§