pub enum ControlError {
Success = 0,
Unspec = 1,
Auth = 2,
Format = 3,
NoData = 4,
Timeout = 5,
BadValue = 6,
NotFound = 7,
NoReuse = 8,
Permission = 9,
Max = 10,
}Expand description
Mode 6 response/error codes matching ntpsec.
Variants§
Success = 0
Unspec = 1
Auth = 2
Format = 3
NoData = 4
Timeout = 5
BadValue = 6
NotFound = 7
NoReuse = 8
Permission = 9
Max = 10
Implementations§
Source§impl ControlError
impl ControlError
Trait Implementations§
Source§impl Clone for ControlError
impl Clone for ControlError
Source§fn clone(&self) -> ControlError
fn clone(&self) -> ControlError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlError
Source§impl Debug for ControlError
impl Debug for ControlError
impl Eq for ControlError
Source§impl PartialEq for ControlError
impl PartialEq for ControlError
impl StructuralPartialEq for ControlError
Auto Trait Implementations§
impl Freeze for ControlError
impl RefUnwindSafe for ControlError
impl Send for ControlError
impl Sync for ControlError
impl Unpin for ControlError
impl UnsafeUnpin for ControlError
impl UnwindSafe for ControlError
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