#[non_exhaustive]pub enum ConfigError {
UnsupportedNominalTiming,
UnsupportedFdTiming,
UnsupportedTimestampResolution,
TimestampTimerStalled,
UnsupportedRetransmitLimit,
UnsupportedSecondarySamplePoint,
BusBusy,
TransceiverModeLocked,
}Expand description
Errors that can occur when the configuration is applied.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
UnsupportedNominalTiming
The nominal bit timing is outside the limits of the hardware.
UnsupportedFdTiming
The data phase bit timing is outside the limits of the hardware.
UnsupportedTimestampResolution
The timestamp resolution cannot be reached from the function clock.
TimestampTimerStalled
The timestamp counter did not start ticking.
UnsupportedRetransmitLimit
The retransmission limit is larger than MAX_RETRANSMIT_LIMIT.
UnsupportedSecondarySamplePoint
The secondary sample point cannot be placed where it was asked for.
The final position must stay inside four data bit times and inside the eight-bit offset field (TRM 38.3.7.3).
BusBusy
A transmission was still in flight and did not settle, so the configuration was not applied.
TransceiverModeLocked
The transceiver setting cannot change after a pin is assigned, because it decides how that pin is driven.
Trait Implementations§
Source§impl Clone for ConfigError
Available on crate feature unstable only.
impl Clone for ConfigError
unstable only.impl Copy for ConfigError
unstable only.Source§impl Debug for ConfigError
Available on crate feature unstable only.
impl Debug for ConfigError
unstable only.Source§impl Display for ConfigError
Available on crate feature unstable only.
impl Display for ConfigError
unstable only.impl Eq for ConfigError
unstable only.Source§impl Error for ConfigError
Available on crate feature unstable only.
impl Error for ConfigError
unstable only.1.30.0§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl Hash for ConfigError
Available on crate feature unstable only.
impl Hash for ConfigError
unstable only.Source§impl PartialEq for ConfigError
Available on crate feature unstable only.
impl PartialEq for ConfigError
unstable only.impl StructuralPartialEq for ConfigError
unstable only.Auto Trait Implementations§
impl Freeze for ConfigError
impl RefUnwindSafe for ConfigError
impl Send for ConfigError
impl Sync for ConfigError
impl Unpin for ConfigError
impl UnsafeUnpin for ConfigError
impl UnwindSafe for ConfigError
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
§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)
clone_to_uninit)