pub struct MadviseAdvice {
pub value: u32,
pub name: &'static str,
pub first: KernelVersion,
}Expand description
One madvise advice value and the first mainline release defining it.
Fields§
§value: u32The advice value passed as madvise’s third argument.
name: &'static strThe constant’s name, such as MADV_FREE.
first: KernelVersionThe first mainline release that accepts it, or the data’s oldest release for values at least that old.
Trait Implementations§
Source§impl Clone for MadviseAdvice
impl Clone for MadviseAdvice
Auto Trait Implementations§
impl Freeze for MadviseAdvice
impl RefUnwindSafe for MadviseAdvice
impl Send for MadviseAdvice
impl Sync for MadviseAdvice
impl Unpin for MadviseAdvice
impl UnsafeUnpin for MadviseAdvice
impl UnwindSafe for MadviseAdvice
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