Trait Server

Source
pub trait Server: Server {
    // Provided methods
    fn cli_command(
        &mut self,
        _: CliCommandParams,
        _: CliCommandResults,
    ) -> Promise<(), Error> { ... }
    fn sleep_mode(
        &mut self,
        _: SleepModeParams,
        _: SleepModeResults,
    ) -> Promise<(), Error> { ... }
    fn flash_mode(
        &mut self,
        _: FlashModeParams,
        _: FlashModeResults,
    ) -> Promise<(), Error> { ... }
    fn manufacturing_test(
        &mut self,
        _: ManufacturingTestParams,
        _: ManufacturingTestResults,
    ) -> Promise<(), Error> { ... }
    fn info(&mut self, _: InfoParams, _: InfoResults) -> Promise<(), Error> { ... }
    fn supported_ids(
        &mut self,
        _: SupportedIdsParams,
        _: SupportedIdsResults,
    ) -> Promise<(), Error> { ... }
    fn test(&mut self, _: TestParams, _: TestResults) -> Promise<(), Error> { ... }
    fn pixel_setting(
        &mut self,
        _: PixelSettingParams,
        _: PixelSettingResults,
    ) -> Promise<(), Error> { ... }
    fn pixel_set(
        &mut self,
        _: PixelSetParams,
        _: PixelSetResults,
    ) -> Promise<(), Error> { ... }
}

Provided Methods§

Implementors§