pub enum CallbackResult {
Continue,
Stop,
}Expand description
Value returned by the SAADC callback, deciding what happens next.
Variants§
Continue
The SAADC should keep sampling and calling the callback.
Stop
The SAADC should stop sampling, and return.
Trait Implementations§
Source§impl PartialEq for CallbackResult
impl PartialEq for CallbackResult
impl StructuralPartialEq for CallbackResult
Auto Trait Implementations§
impl Freeze for CallbackResult
impl RefUnwindSafe for CallbackResult
impl Send for CallbackResult
impl Sync for CallbackResult
impl Unpin for CallbackResult
impl UnsafeUnpin for CallbackResult
impl UnwindSafe for CallbackResult
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