pub struct EncodedAttribute {
pub body: Vec<u8>,
pub datatype_at: usize,
pub dataspace_at: usize,
}Expand description
One attribute message body, and where its datatype and dataspace fields sit inside it.
The offsets are what a caller that put a shared-message pointer in either field needs in order to fill the pointer’s heap ID in later, once the heap it points into has been laid out.
Fields§
§body: Vec<u8>The message payload.
datatype_at: usizeOffset of the datatype field in body.
dataspace_at: usizeOffset of the dataspace field in body.
Trait Implementations§
Source§impl Clone for EncodedAttribute
impl Clone for EncodedAttribute
Source§impl Debug for EncodedAttribute
impl Debug for EncodedAttribute
impl Eq for EncodedAttribute
Source§impl PartialEq for EncodedAttribute
impl PartialEq for EncodedAttribute
impl StructuralPartialEq for EncodedAttribute
Auto Trait Implementations§
impl Freeze for EncodedAttribute
impl RefUnwindSafe for EncodedAttribute
impl Send for EncodedAttribute
impl Sync for EncodedAttribute
impl Unpin for EncodedAttribute
impl UnsafeUnpin for EncodedAttribute
impl UnwindSafe for EncodedAttribute
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