pub struct STM32F4Config;Expand description
Custom memory configuration
Trait Implementations§
Source§impl Clone for STM32F4Config
impl Clone for STM32F4Config
Source§fn clone(&self) -> STM32F4Config
fn clone(&self) -> STM32F4Config
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 STM32F4Config
impl Debug for STM32F4Config
Source§impl MemoryConfig for STM32F4Config
impl MemoryConfig for STM32F4Config
Source§const TOTAL_CRDT_MEMORY: usize = 32_768usize
const TOTAL_CRDT_MEMORY: usize = 32_768usize
Total memory budget for all CRDTs in bytes
Source§const MAX_REGISTERS: usize = 100usize
const MAX_REGISTERS: usize = 100usize
Maximum number of register CRDT instances
Source§const MAX_COUNTERS: usize = 50usize
const MAX_COUNTERS: usize = 50usize
Maximum number of counter CRDT instances
Source§const MAX_NODES: usize = 32usize
const MAX_NODES: usize = 32usize
Maximum number of nodes (ECUs/robots/devices/controllers) in the network
Source§const MAX_SET_ELEMENTS: usize = 32usize
const MAX_SET_ELEMENTS: usize = 32usize
Maximum number of elements per set CRDT
Source§const MAX_MAP_ENTRIES: usize = 32usize
const MAX_MAP_ENTRIES: usize = 32usize
Maximum number of entries per map CRDT
Source§const MAX_HISTORY_SIZE: usize = 4usize
const MAX_HISTORY_SIZE: usize = 4usize
Maximum history size for multi-value CRDTs
Source§const CLOCK_MEMORY_BUDGET: usize = 512usize
const CLOCK_MEMORY_BUDGET: usize = 512usize
Memory budget for clock management in bytes
Source§const ERROR_BUFFER_SIZE: usize = 256usize
const ERROR_BUFFER_SIZE: usize = 256usize
Error buffer size in bytes
Source§const MEMORY_ALIGNMENT: usize = 4usize
const MEMORY_ALIGNMENT: usize = 4usize
Memory alignment requirement in bytes (must be power of 2)
Source§const CACHE_LINE_SIZE: usize = 32usize
const CACHE_LINE_SIZE: usize = 32usize
Cache line size for optimization in bytes
Source§fn validate() -> Result<(), &'static str>
fn validate() -> Result<(), &'static str>
Validates that the configuration is consistent and within bounds
Source§fn estimate_memory_usage() -> usize
fn estimate_memory_usage() -> usize
Estimates total memory usage based on configuration
impl Copy for STM32F4Config
Auto Trait Implementations§
impl Freeze for STM32F4Config
impl RefUnwindSafe for STM32F4Config
impl Send for STM32F4Config
impl Sync for STM32F4Config
impl Unpin for STM32F4Config
impl UnwindSafe for STM32F4Config
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