#[repr(u8)]pub enum SegmentationControl {
NoRecordBoundaryPreservation = 0,
WithRecordBoundaryPreservation = 1,
}Expand description
Always 0 and ignored for File Directive PDUs (CCSDS 727.0-B-5 P.75)
Variants§
NoRecordBoundaryPreservation = 0
No record boundary preservation.
WithRecordBoundaryPreservation = 1
With record boundary preservation.
Implementations§
Trait Implementations§
Source§impl Clone for SegmentationControl
impl Clone for SegmentationControl
Source§fn clone(&self) -> SegmentationControl
fn clone(&self) -> SegmentationControl
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 SegmentationControl
impl Debug for SegmentationControl
Source§impl<'de> Deserialize<'de> for SegmentationControl
impl<'de> Deserialize<'de> for SegmentationControl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Format for SegmentationControl
impl Format for SegmentationControl
Source§impl From<SegmentationControl> for u8
impl From<SegmentationControl> for u8
Source§fn from(enum_value: SegmentationControl) -> Self
fn from(enum_value: SegmentationControl) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SegmentationControl
impl PartialEq for SegmentationControl
Source§impl Serialize for SegmentationControl
impl Serialize for SegmentationControl
Source§impl TryFrom<u8> for SegmentationControl
impl TryFrom<u8> for SegmentationControl
Source§type Error = TryFromPrimitiveError<SegmentationControl>
type Error = TryFromPrimitiveError<SegmentationControl>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for SegmentationControl
impl TryFromPrimitive for SegmentationControl
const NAME: &'static str = "SegmentationControl"
type Primitive = u8
type Error = TryFromPrimitiveError<SegmentationControl>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for SegmentationControl
impl Eq for SegmentationControl
impl StructuralPartialEq for SegmentationControl
Auto Trait Implementations§
impl Freeze for SegmentationControl
impl RefUnwindSafe for SegmentationControl
impl Send for SegmentationControl
impl Sync for SegmentationControl
impl Unpin for SegmentationControl
impl UnwindSafe for SegmentationControl
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