pub enum ClockSynchronizationError {
CoreError(ClockSynchronizationError),
ProtocolError(ProtocolError),
SourceError(SourceManagementError),
GpsError(GpsError),
NetworkError(NetworkSyncError),
QualityError(QualityMonitorError),
DriftError(DriftCompensationError),
HealthError(HealthMonitorError),
StatisticsError(StatisticsError),
ConfigurationError(String),
SystemError(String),
}Expand description
Main error type for clock synchronization operations
Variants§
CoreError(ClockSynchronizationError)
Core synchronization error
ProtocolError(ProtocolError)
Protocol error
SourceError(SourceManagementError)
Source management error
GpsError(GpsError)
GPS synchronization error
NetworkError(NetworkSyncError)
Network synchronization error
QualityError(QualityMonitorError)
Quality monitoring error
DriftError(DriftCompensationError)
Drift compensation error
HealthError(HealthMonitorError)
Health monitoring error
StatisticsError(StatisticsError)
Statistics error
ConfigurationError(String)
Configuration error
SystemError(String)
System error
Trait Implementations§
Source§impl Debug for ClockSynchronizationError
impl Debug for ClockSynchronizationError
Source§impl Display for ClockSynchronizationError
impl Display for ClockSynchronizationError
Source§impl Error for ClockSynchronizationError
impl Error for ClockSynchronizationError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<ClockSynchronizationError> for ClockSynchronizationError
impl From<ClockSynchronizationError> for ClockSynchronizationError
Source§fn from(err: ClockSynchronizationError) -> Self
fn from(err: ClockSynchronizationError) -> Self
Converts to this type from the input type.
Source§impl From<CoreError> for ClockSynchronizationError
impl From<CoreError> for ClockSynchronizationError
Source§impl From<DriftCompensationError> for ClockSynchronizationError
impl From<DriftCompensationError> for ClockSynchronizationError
Source§fn from(err: DriftCompensationError) -> Self
fn from(err: DriftCompensationError) -> Self
Converts to this type from the input type.
Source§impl From<GpsError> for ClockSynchronizationError
impl From<GpsError> for ClockSynchronizationError
Source§impl From<HealthMonitorError> for ClockSynchronizationError
impl From<HealthMonitorError> for ClockSynchronizationError
Source§fn from(err: HealthMonitorError) -> Self
fn from(err: HealthMonitorError) -> Self
Converts to this type from the input type.
Source§impl From<NetworkSyncError> for ClockSynchronizationError
impl From<NetworkSyncError> for ClockSynchronizationError
Source§fn from(err: NetworkSyncError) -> Self
fn from(err: NetworkSyncError) -> Self
Converts to this type from the input type.
Source§impl From<ProtocolError> for ClockSynchronizationError
impl From<ProtocolError> for ClockSynchronizationError
Source§fn from(err: ProtocolError) -> Self
fn from(err: ProtocolError) -> Self
Converts to this type from the input type.
Source§impl From<QualityMonitorError> for ClockSynchronizationError
impl From<QualityMonitorError> for ClockSynchronizationError
Source§fn from(err: QualityMonitorError) -> Self
fn from(err: QualityMonitorError) -> Self
Converts to this type from the input type.
Source§impl From<SourceManagementError> for ClockSynchronizationError
impl From<SourceManagementError> for ClockSynchronizationError
Source§fn from(err: SourceManagementError) -> Self
fn from(err: SourceManagementError) -> Self
Converts to this type from the input type.
Source§impl From<StatisticsError> for ClockSynchronizationError
impl From<StatisticsError> for ClockSynchronizationError
Source§fn from(err: StatisticsError) -> Self
fn from(err: StatisticsError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ClockSynchronizationError
impl RefUnwindSafe for ClockSynchronizationError
impl Send for ClockSynchronizationError
impl Sync for ClockSynchronizationError
impl Unpin for ClockSynchronizationError
impl UnsafeUnpin for ClockSynchronizationError
impl UnwindSafe for ClockSynchronizationError
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.