[−][src]Struct capo::Caps
Fields
effective: Set
permitted: Set
inheritable: Set
Implementations
impl Caps
[src]
pub fn empty() -> Self
[src]
pub fn get() -> Result<Self, Error>
[src]
pub fn set(&self) -> Result<(), Error>
[src]
pub fn fetch(pid: c_int) -> Result<Self, Error>
[src]
pub fn apply(&self, pid: c_int) -> Result<(), Error>
[src]
pub fn shift(&self, [low, high]: &mut [Data; 2])
[src]
Trait Implementations
impl Clone for Caps
[src]
impl Debug for Caps
[src]
impl Eq for Caps
[src]
impl From<[Data; 2]> for Caps
[src]
impl PartialEq<Caps> for Caps
[src]
impl StructuralEq for Caps
[src]
impl StructuralPartialEq for Caps
[src]
Auto Trait Implementations
impl RefUnwindSafe for Caps
impl Send for Caps
impl Sync for Caps
impl Unpin for Caps
impl UnwindSafe for Caps
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,