pub struct StructMapping {
pub memory_id: MemoryId,
pub fields: FieldMappings,
}Fields§
§memory_id: MemoryIdMemory ID used in the struct definition.
fields: FieldMappingsThe list of mappings in the buffer. The verifier must rewrite the actual ebpf to ensure the right offset and operand are use to access the mapped fields. Mappings are allowed only for pointer fields.
Trait Implementations§
Source§impl Clone for StructMapping
impl Clone for StructMapping
Auto Trait Implementations§
impl Freeze for StructMapping
impl RefUnwindSafe for StructMapping
impl Send for StructMapping
impl Sync for StructMapping
impl Unpin for StructMapping
impl UnsafeUnpin for StructMapping
impl UnwindSafe for StructMapping
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