MCPcopy Create free account
hub / github.com/OpenActionAPI/rust-elgato-streamdeck / reset

Method reset

src/asynchronous.rs:108–111  ·  view source on GitHub ↗

Resets the device

(&self)

Source from the content-addressed store, hash-verified

106
107 /// Resets the device
108 pub async fn reset(&self) -> Result<(), StreamDeckError> {
109 let device = self.device.lock().await;
110 block_in_place(move || device.reset())
111 }
112
113 /// Sets brightness of the device, value range is 0 - 100
114 pub async fn set_brightness(&self, percent: u8) -> Result<(), StreamDeckError> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected