Enum esp32c2_hal::i2c::SetupError
source · pub enum SetupError {
InvalidClkConfig,
PeripheralDisabled,
}
Expand description
I2C-specific setup errors
Variants
InvalidClkConfig
PeripheralDisabled
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SetupError
impl Send for SetupError
impl Sync for SetupError
impl Unpin for SetupError
impl UnwindSafe for SetupError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more