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

Struct

ConnectionStatus

#[repr(C)]
pub struct ConnectionStatus { pub bt_connected: bool, pub ql_paired: bool, pub live: bool, }

Fields

bt_connected: boolql_paired: boollive: bool

Trait Implementations

impl AsScalar<1> for ConnectionStatus

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

impl Clone for ConnectionStatus

fn clone(&self) -> ConnectionStatus

Returns a duplicate of the value. Read more
1.0.0

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

Performs copy-assignment from source. Read more

impl Debug for ConnectionStatus

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

Formats the value using the given formatter. Read more

impl FromScalar<1> for ConnectionStatus

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

impl PartialEq for ConnectionStatus

fn eq(&self, other: &ConnectionStatus) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

impl Copy for ConnectionStatus

impl Eq for ConnectionStatus

impl StructuralPartialEq for ConnectionStatus

Auto Trait Implementations

impl Freeze for ConnectionStatus

impl RefUnwindSafe for ConnectionStatus

impl Send for ConnectionStatus

impl Sync for ConnectionStatus

impl Unpin for ConnectionStatus

impl UnsafeUnpin for ConnectionStatus

impl UnwindSafe for ConnectionStatus