pub struct Linker { /* private fields */ }
Expand description
A type used for linking multiple BPF object files into a single one.
Please refer to https://lwn.net/ml/bpf/20210310040431.916483-6-andrii@kernel.org/ for additional details.
Implementations§
Trait Implementations§
source§impl AsRawLibbpf for Linker
impl AsRawLibbpf for Linker
source§fn as_libbpf_object(&self) -> NonNull<Self::LibbpfType>
fn as_libbpf_object(&self) -> NonNull<Self::LibbpfType>
Retrieve the underlying libbpf_sys::bpf_linker
.
§type LibbpfType = bpf_linker
type LibbpfType = bpf_linker
The underlying
libbpf
type.impl Send for Linker
Auto Trait Implementations§
impl Freeze for Linker
impl RefUnwindSafe for Linker
impl !Sync for Linker
impl Unpin for Linker
impl UnwindSafe for Linker
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