Enum CalibrationResult
#[non_exhaustive]pub enum CalibrationResult {
Ok,
DataCheckFailed,
}Available on crate feature
unstable only.Expand description
Result of the PHY calibration.
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.
Ok
The calibration data was valid and was used for calibration.
DataCheckFailed
The calibration data checksum check failed, or the calibration data was outdated.
Trait Implementations§
§impl Clone for CalibrationResult
impl Clone for CalibrationResult
§fn clone(&self) -> CalibrationResult
fn clone(&self) -> CalibrationResult
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for CalibrationResult
impl Debug for CalibrationResult
§impl Format for CalibrationResult
impl Format for CalibrationResult
impl Copy for CalibrationResult
Auto Trait Implementations§
impl Freeze for CalibrationResult
impl RefUnwindSafe for CalibrationResult
impl Send for CalibrationResult
impl Sync for CalibrationResult
impl Unpin for CalibrationResult
impl UnwindSafe for CalibrationResult
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)