pub enum PwmError {
InvalidDutyCycle,
InvalidChannel,
ChannelMismatch,
}Expand description
PWM error.
Variants§
InvalidDutyCycle
Invalid Duty Cycle.
InvalidChannel
Invalid Channel Number.
ChannelMismatch
Channel mismatch
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PwmError
impl RefUnwindSafe for PwmError
impl Send for PwmError
impl Sync for PwmError
impl Unpin for PwmError
impl UnwindSafe for PwmError
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