Trait huelib::resource::Scanner[][src]

pub trait Scanner: Serialize {
    fn url_suffix() -> String;

    fn execute(&self, bridge: &Bridge) -> Result<()> { ... }
}
Expand description

Trait for scanning new resources.

Required methods

Returns the suffix of the API URL.

Provided methods

Sends the request to scan for new resources.

Implementors