#[non_exhaustive]pub enum ProgramLicense {
GPL,
}
Expand description
Collection of eBPF program license types (e.g. GPL)
Mostly a smaller wrapper for FFI use cases
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
GPL
Implementations§
Auto Trait Implementations§
impl Freeze for ProgramLicense
impl RefUnwindSafe for ProgramLicense
impl Send for ProgramLicense
impl Sync for ProgramLicense
impl Unpin for ProgramLicense
impl UnwindSafe for ProgramLicense
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