pub enum TelemetryError {
BufferTooSmall {
required: usize,
provided: usize,
},
InvalidTimeValue,
SpacePacketError(BuildError),
MissingSecondaryHeader,
PayloadMismatch,
TypeMismatch,
}Expand description
An error that can occur when building a CFE telemetry packet.
Variants§
BufferTooSmall
The provided buffer is too small to hold the packet.
InvalidTimeValue
The time value exceeds the 6-byte CDS range.
SpacePacketError(BuildError)
The underlying SPP builder returned an error.
MissingSecondaryHeader
The secondary header flag is not set to Present.
PayloadMismatch
The packet data field does not match the expected layout.
TypeMismatch
The packet type does not match (e.g. telecommand instead of telemetry).
Trait Implementations§
Source§impl Clone for TelemetryError
impl Clone for TelemetryError
Source§fn clone(&self) -> TelemetryError
fn clone(&self) -> TelemetryError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TelemetryError
impl Debug for TelemetryError
Source§impl PartialEq for TelemetryError
impl PartialEq for TelemetryError
impl Copy for TelemetryError
impl Eq for TelemetryError
impl StructuralPartialEq for TelemetryError
Auto Trait Implementations§
impl Freeze for TelemetryError
impl RefUnwindSafe for TelemetryError
impl Send for TelemetryError
impl Sync for TelemetryError
impl Unpin for TelemetryError
impl UnsafeUnpin for TelemetryError
impl UnwindSafe for TelemetryError
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