pub struct TcFrameWriterConfig {
pub scid: Scid,
pub vcid: Vcid,
pub bypass: BypassFlag,
pub control: ControlFlag,
pub max_data_field_len: usize,
}Expand description
Configuration for building TC transfer frames.
Fields§
§scid: ScidSpacecraft ID.
vcid: VcidVirtual Channel ID.
bypass: BypassFlagBypass flag (Type-A or Type-B).
control: ControlFlagControl flag (data or control command).
max_data_field_len: usizeMaximum data field length in bytes.
Trait Implementations§
Source§impl Clone for TcFrameWriterConfig
impl Clone for TcFrameWriterConfig
Source§fn clone(&self) -> TcFrameWriterConfig
fn clone(&self) -> TcFrameWriterConfig
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 moreAuto Trait Implementations§
impl Freeze for TcFrameWriterConfig
impl RefUnwindSafe for TcFrameWriterConfig
impl Send for TcFrameWriterConfig
impl Sync for TcFrameWriterConfig
impl Unpin for TcFrameWriterConfig
impl UnsafeUnpin for TcFrameWriterConfig
impl UnwindSafe for TcFrameWriterConfig
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