pub struct BpfProgramQueryRequest<'a> {
pub target: BorrowedFd<'a>,
pub attach_type: BpfAttachType,
pub query_flags: u32,
pub program_ids: &'a mut [u32],
}Expand description
Requête d’interrogation des programmes attachés (BPF_PROG_QUERY).
Fields§
§target: BorrowedFd<'a>Cible (cgroup…).
attach_type: BpfAttachTypeType d’attache interrogé.
query_flags: u32Drapeaux de requête.
program_ids: &'a mut [u32]Tampon d’ids de programmes (rempli par le kernel).
Trait Implementations§
Auto Trait Implementations§
impl<'a> !UnwindSafe for BpfProgramQueryRequest<'a>
impl<'a> Freeze for BpfProgramQueryRequest<'a>
impl<'a> RefUnwindSafe for BpfProgramQueryRequest<'a>
impl<'a> Send for BpfProgramQueryRequest<'a>
impl<'a> Sync for BpfProgramQueryRequest<'a>
impl<'a> Unpin for BpfProgramQueryRequest<'a>
impl<'a> UnsafeUnpin for BpfProgramQueryRequest<'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