pub struct NullTermByteField<const N: usize>(/* private fields */);Expand description
A byte field which supports storing short values using null termination to indicate size
This is here to support VisibleString and UnicodeString types.
Implementations§
Source§impl<const N: usize> NullTermByteField<N>
impl<const N: usize> NullTermByteField<N>
Trait Implementations§
Source§impl<const N: usize> Default for NullTermByteField<N>
impl<const N: usize> Default for NullTermByteField<N>
Source§impl<const N: usize> SubObjectAccess for NullTermByteField<N>
impl<const N: usize> SubObjectAccess for NullTermByteField<N>
Source§fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
fn read(&self, offset: usize, buf: &mut [u8]) -> Result<usize, AbortCode>
Read data from the sub object Read more
Source§fn begin_partial(&self) -> Result<(), AbortCode>
fn begin_partial(&self) -> Result<(), AbortCode>
Begin a multi-part write to the object Read more
Auto Trait Implementations§
impl<const N: usize> !Freeze for NullTermByteField<N>
impl<const N: usize> !RefUnwindSafe for NullTermByteField<N>
impl<const N: usize> Send for NullTermByteField<N>
impl<const N: usize> Sync for NullTermByteField<N>
impl<const N: usize> Unpin for NullTermByteField<N>
impl<const N: usize> UnwindSafe for NullTermByteField<N>
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