pub enum DeviceRequest {
SetTemperatureCelsius {
temperature: f32,
responder: DeviceSetTemperatureCelsiusResponder,
},
}
Expand description
Device interface to allow modification of driver data.
Variants§
SetTemperatureCelsius
Set the current temperature driver data in degrees Celsius.
Implementations§
source§impl DeviceRequest
impl DeviceRequest
pub fn into_set_temperature_celsius( self, ) -> Option<(f32, DeviceSetTemperatureCelsiusResponder)>
sourcepub fn method_name(&self) -> &'static str
pub fn method_name(&self) -> &'static str
Name of the method defined in FIDL
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceRequest
impl !RefUnwindSafe for DeviceRequest
impl Send for DeviceRequest
impl Sync for DeviceRequest
impl Unpin for DeviceRequest
impl !UnwindSafe for DeviceRequest
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