Struct kubos_system::UBootVars[][src]

pub struct UBootVars { /* fields omitted */ }
[]

A convenience wrapper for fetching UBoot variables used by KubOS

Methods

impl UBootVars
[src]
[]

[]

Default constructor that fetches UBoot vars using /usr/sbin/fw_printenv

[]

Constructor that fetches UBoot vars with a custom path to fw_printenv

[]

Returns the value of a UBoot variable encoded as a u32

[]

Returns the value of a UBoot variable encoded as a String

[]

Returns the value of a UBoot variable encoded as a bool

Auto Trait Implementations

impl Send for UBootVars

impl Sync for UBootVars