pub struct ByteField<const N: usize> { /* private fields */ }Expand description
A sub object which contains a fixed-size byte array
This is the data storage backing for all string types
Implementations§
Trait Implementations§
Source§impl<const N: usize> SubObjectAccess for ByteField<N>
impl<const N: usize> SubObjectAccess for ByteField<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
impl<const N: usize> Sync for ByteField<N>
Auto Trait Implementations§
impl<const N: usize> !Freeze for ByteField<N>
impl<const N: usize> !RefUnwindSafe for ByteField<N>
impl<const N: usize> Send for ByteField<N>
impl<const N: usize> Unpin for ByteField<N>
impl<const N: usize> UnwindSafe for ByteField<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