#[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§
source§impl PartialEq for BtfKind
impl PartialEq for BtfKind
source§impl TryFrom<u32> for BtfKind
impl TryFrom<u32> for BtfKind
§type Error = TryFromPrimitiveError<BtfKind>
type Error = TryFromPrimitiveError<BtfKind>
The type returned in the event of a conversion error.
source§impl TryFromPrimitive for BtfKind
impl TryFromPrimitive for BtfKind
impl Copy for BtfKind
impl Eq for BtfKind
impl StructuralEq for BtfKind
impl StructuralPartialEq for BtfKind
Auto Trait Implementations§
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