Be aware: Foundation will NEVER ask for your seed words, device PIN, or call you unexpectedly. If anyone does, it's a scam.

Struct

Shutdown

pub struct Shutdown {
    pub reboot: bool,
}

Fields

reboot: bool

Trait Implementations

impl AsScalar<1> for Shutdown

fn as_scalar(&self) -> [u32; 1]

impl BlockingScalar for Shutdown

type Response = ()

response type for this message

impl Debug for Shutdown

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

impl FromScalar<1> for Shutdown

fn from_scalar(value: [u32; 1]) -> Self

impl MessageId for Shutdown

const ID: MessageId = 29usize

unique message identifier

const SERVER: &'static str = "os/gui-server"

target server name

Auto Trait Implementations

impl Freeze for Shutdown

impl RefUnwindSafe for Shutdown

impl Send for Shutdown

impl Sync for Shutdown

impl Unpin for Shutdown

impl UnsafeUnpin for Shutdown

impl UnwindSafe for Shutdown