#[non_exhaustive]pub enum PidControllerError<T>where
T: Number,{
UnrepresentableNumber,
ParameterOutOfBounds {
parameter: Parameter,
value: T,
lower_bound: T,
upper_bound: T,
},
InvalidTimestamp,
}
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.
Trait Implementations§
Source§impl<T> Clone for PidControllerError<T>
impl<T> Clone for PidControllerError<T>
Source§fn clone(&self) -> PidControllerError<T>
fn clone(&self) -> PidControllerError<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T> Debug for PidControllerError<T>
impl<T> Debug for PidControllerError<T>
impl<T> Copy for PidControllerError<T>
Auto Trait Implementations§
impl<T> Freeze for PidControllerError<T>where
T: Freeze,
impl<T> RefUnwindSafe for PidControllerError<T>where
T: RefUnwindSafe,
impl<T> Send for PidControllerError<T>where
T: Send,
impl<T> Sync for PidControllerError<T>where
T: Sync,
impl<T> Unpin for PidControllerError<T>where
T: Unpin,
impl<T> UnwindSafe for PidControllerError<T>where
T: UnwindSafe,
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