pub struct I2cConfig {
pub max_packet_size: usize,
pub timeout_ms: u64,
pub retry_attempts: u32,
pub auto_fragment: bool,
pub fragment_delay_ms: u64,
pub validation_level: ValidationLevel,
pub performance_monitoring: bool,
}Expand description
I2C configuration options - standardized interface
Fields§
§max_packet_size: usize§timeout_ms: u64§retry_attempts: u32§auto_fragment: bool§fragment_delay_ms: u64§validation_level: ValidationLevel§performance_monitoring: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for I2cConfig
impl RefUnwindSafe for I2cConfig
impl Send for I2cConfig
impl Sync for I2cConfig
impl Unpin for I2cConfig
impl UnsafeUnpin for I2cConfig
impl UnwindSafe for I2cConfig
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