pub struct EspforgeConfiguration {
pub espforge: HashMap<String, String>,
pub esp32: Option<Esp32Config>,
pub components: HashMap<String, Component>,
pub devices: HashMap<String, Device>,
}Fields§
§espforge: HashMap<String, String>§esp32: Option<Esp32Config>§components: HashMap<String, Component>§devices: HashMap<String, Device>Implementations§
Source§impl EspforgeConfiguration
impl EspforgeConfiguration
pub fn get_name(&self) -> &str
pub fn get_chip(&self) -> &str
pub fn get_runtime(&self) -> RuntimeMode
pub fn is_embassy(&self) -> bool
pub fn runtime_name(&self) -> &'static str
Sourcepub fn get_heap_size(&self) -> Option<usize>
pub fn get_heap_size(&self) -> Option<usize>
Get heap size for the configured chip Returns None if alloc is not enabled or chip not found
pub fn has_psram(&self) -> Option<bool>
Trait Implementations§
Source§impl Clone for EspforgeConfiguration
impl Clone for EspforgeConfiguration
Source§fn clone(&self) -> EspforgeConfiguration
fn clone(&self) -> EspforgeConfiguration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EspforgeConfiguration
impl Debug for EspforgeConfiguration
Source§impl Default for EspforgeConfiguration
impl Default for EspforgeConfiguration
Source§fn default() -> EspforgeConfiguration
fn default() -> EspforgeConfiguration
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EspforgeConfiguration
impl<'de> Deserialize<'de> for EspforgeConfiguration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EspforgeConfiguration
impl RefUnwindSafe for EspforgeConfiguration
impl Send for EspforgeConfiguration
impl Sync for EspforgeConfiguration
impl Unpin for EspforgeConfiguration
impl UnsafeUnpin for EspforgeConfiguration
impl UnwindSafe for EspforgeConfiguration
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more