Enum screenruster_saver::Request [] [src]

pub enum Request {
    Config(JsonValue),
    Target {
        display: String,
        screen: i32,
        window: u64,
    },
    Resize {
        width: u32,
        height: u32,
    },
    Throttle(bool),
    Blank(bool),
    Safety(Safety),
    Pointer(Pointer),
    Password(Password),
    Start,
    Lock,
    Stop,
}

Variants

Config(JsonValue)

Saver configuration.

Target

Drawable target.

Fields

display: String
screen: i32
window: u64
Resize

Resize the viewport.

Fields

width: u32
height: u32
Throttle(bool)

Throttle the rendering.

Blank(bool)

The screen has been blanked or unblanked.

Safety(Safety)

The locker safety level.

Pointer(Pointer)

Pointer events.

Password(Password)

The password field has changed.

Start

Start the saver.

Lock

Lock the saver.

Stop

Stop the saver.

Trait Implementations

impl Debug for Request
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for Request
[src]

fn clone(&self) -> Request

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more