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