#[non_exhaustive]pub enum SetupError {
NoStimulus,
UnsupportedStimulus(&'static str),
UnsupportedAcquisition(&'static str),
}Expand description
Why a node could not take on a measurement setup.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoStimulus
The mode does not sound the channel, but the setup asked it to.
UnsupportedStimulus(&'static str)
The mode sounds the channel, and the setup’s stimulus asks for something it cannot do. The field names which parameter.
UnsupportedAcquisition(&'static str)
The acquisition filter asks for something this node cannot select. The field names which parameter.
Trait Implementations§
Source§impl Clone for SetupError
impl Clone for SetupError
impl Copy for SetupError
Source§impl Debug for SetupError
impl Debug for SetupError
impl Eq for SetupError
Source§impl PartialEq for SetupError
impl PartialEq for SetupError
impl StructuralPartialEq for SetupError
Auto Trait Implementations§
impl Freeze for SetupError
impl RefUnwindSafe for SetupError
impl Send for SetupError
impl Sync for SetupError
impl Unpin for SetupError
impl UnsafeUnpin for SetupError
impl UnwindSafe for SetupError
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