pub struct NameMatches {
pub pids: Vec<u32>,
pub other_users: usize,
}Expand description
Result of find_by_name_for_uid: matches owned by the requested uid,
plus a count of matches owned by other users (so the caller can tell “no
such process” apart from “that process belongs to someone else”).
Fields§
§pids: Vec<u32>§other_users: usizeTrait Implementations§
Source§impl Clone for NameMatches
impl Clone for NameMatches
Source§impl Debug for NameMatches
impl Debug for NameMatches
impl Eq for NameMatches
Source§impl PartialEq for NameMatches
impl PartialEq for NameMatches
impl StructuralPartialEq for NameMatches
Auto Trait Implementations§
impl Freeze for NameMatches
impl RefUnwindSafe for NameMatches
impl Send for NameMatches
impl Sync for NameMatches
impl Unpin for NameMatches
impl UnsafeUnpin for NameMatches
impl UnwindSafe for NameMatches
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.