pub enum CdsError {
NotCds(u8),
InvalidSubMillisCode(u8),
BufferTooShort {
required: usize,
provided: usize,
},
MsOutOfRange(u32),
}Expand description
Errors from CDS time operations.
Variants§
NotCds(u8)
P-field time code ID is not CDS (100).
InvalidSubMillisCode(u8)
Invalid sub-millisecond code in P-field.
BufferTooShort
Buffer too short.
MsOutOfRange(u32)
Milliseconds value exceeds 86_399_999.
Trait Implementations§
impl Copy for CdsError
impl Eq for CdsError
impl StructuralPartialEq for CdsError
Auto Trait Implementations§
impl Freeze for CdsError
impl RefUnwindSafe for CdsError
impl Send for CdsError
impl Sync for CdsError
impl Unpin for CdsError
impl UnsafeUnpin for CdsError
impl UnwindSafe for CdsError
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