pub struct SectionHandle { /* private fields */ }
Expand description
A SectionHandle is a handle to a section in the datalogger. It allows to track the lifecycle of a section of the datalogger.
Implementations§
Source§impl SectionHandle
impl SectionHandle
pub fn create(section_header: SectionHeader, buffer: &'static mut [u8]) -> Self
pub fn get_user_buffer(&mut self) -> &mut [u8] ⓘ
pub fn update_header(&mut self)
Trait Implementations§
Source§impl Default for SectionHandle
impl Default for SectionHandle
Source§fn default() -> SectionHandle
fn default() -> SectionHandle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SectionHandle
impl RefUnwindSafe for SectionHandle
impl Send for SectionHandle
impl Sync for SectionHandle
impl Unpin for SectionHandle
impl !UnwindSafe for SectionHandle
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