Struct bpf_loader_lib::elf_container::ElfContainer
source · pub struct ElfContainer { /* private fields */ }
Expand description
The self-referencing struct.
Implementations§
source§impl ElfContainer
impl ElfContainer
sourcepub fn new_from_binary(bin: &[u8]) -> Result<Self>
pub fn new_from_binary(bin: &[u8]) -> Result<Self>
Create a container from a ELF binary
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ElfContainer
impl Send for ElfContainer
impl Sync for ElfContainer
impl Unpin for ElfContainer
impl UnwindSafe for ElfContainer
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