pub enum HeaderOption {
Normal(u8),
Compressed(u8),
}Expand description
HeaderOption to pick when encoding FIT file, this will optimize the size of the resulting FIT file.
Available options: Normal(0-15), Compressed(0-3).
Default: Normal(0)
Variants§
Normal(u8)
Set Normal Header with the number of maximum message definition interleave allowed. Valid value: 0-15;
Compressed(u8)
Set Compressed Header with the number of maximum message definition interleave allowed. Valid value: 0-3;
Trait Implementations§
Source§impl Clone for HeaderOption
impl Clone for HeaderOption
Source§fn clone(&self) -> HeaderOption
fn clone(&self) -> HeaderOption
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 HeaderOption
Auto Trait Implementations§
impl Freeze for HeaderOption
impl RefUnwindSafe for HeaderOption
impl Send for HeaderOption
impl Sync for HeaderOption
impl Unpin for HeaderOption
impl UnsafeUnpin for HeaderOption
impl UnwindSafe for HeaderOption
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