#[repr(u32)]pub enum BtfKind {
Show 20 variants
Void = 0,
Int = 1,
Ptr = 2,
Array = 3,
Struct = 4,
Union = 5,
Enum = 6,
Fwd = 7,
Typedef = 8,
Volatile = 9,
Const = 10,
Restrict = 11,
Func = 12,
FuncProto = 13,
Var = 14,
DataSec = 15,
Float = 16,
DeclTag = 17,
TypeTag = 18,
Enum64 = 19,
}
Expand description
The various btf types.
Variants§
Void = 0
Int = 1
Ptr = 2
Array = 3
Struct = 4
Union = 5
Enum = 6
Fwd = 7
Typedef = 8
Volatile = 9
Const = 10
Restrict = 11
Func = 12
FuncProto = 13
Var = 14
DataSec = 15
Float = 16
DeclTag = 17
TypeTag = 18
Enum64 = 19
Trait Implementations§
impl Copy for BtfKind
impl Eq for BtfKind
impl StructuralPartialEq for BtfKind
Auto Trait Implementations§
impl Freeze for BtfKind
impl RefUnwindSafe for BtfKind
impl Send for BtfKind
impl Sync for BtfKind
impl Unpin for BtfKind
impl UnwindSafe for BtfKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)