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

Struct

FlushAll

pub struct FlushAll {
    pub force: bool,
}

Fields

force: bool

if true, flushes all dirty files regardless of age. should be called on shutdown.

Trait Implementations

impl AsScalar<1> for FlushAll

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

impl Debug for FlushAll

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

Formats the value using the given formatter. Read more

impl FromScalar<1> for FlushAll

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

impl MessageId for FlushAll

const ID: MessageId = 7usize

unique message identifier

const SERVER: &'static str = "os/settings"

target server name

impl Scalar for FlushAll

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

Auto Trait Implementations

impl Freeze for FlushAll

impl RefUnwindSafe for FlushAll

impl Send for FlushAll

impl Sync for FlushAll

impl Unpin for FlushAll

impl UnsafeUnpin for FlushAll

impl UnwindSafe for FlushAll