pub struct BpfMapBtfInfo<'a> {
pub btf_fd: BorrowedFd<'a>,
pub key_type_id: u32,
pub value_type_id: u32,
}Expand description
Infos BTF optionnelles pour une carte (clé/valeur typées).
Fields§
§btf_fd: BorrowedFd<'a>FD de l’objet BTF décrivant les types.
key_type_id: u32Id du type de clé dans le BTF.
value_type_id: u32Id du type de valeur dans le BTF.
Trait Implementations§
Source§impl<'a> Clone for BpfMapBtfInfo<'a>
impl<'a> Clone for BpfMapBtfInfo<'a>
Source§fn clone(&self) -> BpfMapBtfInfo<'a>
fn clone(&self) -> BpfMapBtfInfo<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for BpfMapBtfInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for BpfMapBtfInfo<'a>
impl<'a> RefUnwindSafe for BpfMapBtfInfo<'a>
impl<'a> Send for BpfMapBtfInfo<'a>
impl<'a> Sync for BpfMapBtfInfo<'a>
impl<'a> Unpin for BpfMapBtfInfo<'a>
impl<'a> UnsafeUnpin for BpfMapBtfInfo<'a>
impl<'a> UnwindSafe for BpfMapBtfInfo<'a>
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