pub enum ScreensaverRequest {
Set {
screensaver_on: bool,
responder: ScreensaverSetResponder,
},
}Expand description
The Screensaver protocol is used to control the screensaver.
The client can use this protocol to check if the screensaver is supported and to turn the screensaver on or off.
Variants§
Implementations§
Source§impl ScreensaverRequest
impl ScreensaverRequest
pub fn into_set(self) -> Option<(bool, ScreensaverSetResponder)>
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 !RefUnwindSafe for ScreensaverRequest
impl !UnwindSafe for ScreensaverRequest
impl Freeze for ScreensaverRequest
impl Send for ScreensaverRequest
impl Sync for ScreensaverRequest
impl Unpin for ScreensaverRequest
impl UnsafeUnpin for ScreensaverRequest
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