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

Struct

RequestAppClose

pub struct RequestAppClose {
    pub pid: usize,
}
Expand description

Fire-and-forget variant of CloseApp, for senders gui-server itself may block on, where waiting for the response could deadlock the two server loops.

Fields

pid: usize

Trait Implementations

impl AsScalar<1> for RequestAppClose

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

impl Debug for RequestAppClose

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

Formats the value using the given formatter. Read more

impl FromScalar<1> for RequestAppClose

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

impl MessageId for RequestAppClose

const ID: MessageId = 36usize

unique message identifier

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

target server name

impl Scalar for RequestAppClose

fn to_message(&self) -> ScalarMessage
where Self: Sized,

Auto Trait Implementations

impl Freeze for RequestAppClose

impl RefUnwindSafe for RequestAppClose

impl Send for RequestAppClose

impl Sync for RequestAppClose

impl Unpin for RequestAppClose

impl UnsafeUnpin for RequestAppClose

impl UnwindSafe for RequestAppClose