Enum bpf_rs::ProgramLicense
source · [−]#[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
sourceimpl ProgramLicense
impl ProgramLicense
Auto Trait Implementations
impl RefUnwindSafe for ProgramLicense
impl Send for ProgramLicense
impl Sync for ProgramLicense
impl Unpin for ProgramLicense
impl UnwindSafe for ProgramLicense
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more