pub enum SubIdSource {
Auto,
Dynamic,
Static,
}
Expand description
The source of subids for rootlesskit.
Variants§
Auto
The source of subids is chosen automatically.
Dynamic
The subids are retrieved using getsubids.
Static
The subids are retrieved from /etc/sub{uid,gid}
.
Trait Implementations§
Source§impl Clone for SubIdSource
impl Clone for SubIdSource
Source§fn clone(&self) -> SubIdSource
fn clone(&self) -> SubIdSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SubIdSource
impl Debug for SubIdSource
Source§impl Default for SubIdSource
impl Default for SubIdSource
Source§fn default() -> SubIdSource
fn default() -> SubIdSource
Returns the “default value” for a type. Read more
Source§impl Display for SubIdSource
impl Display for SubIdSource
Source§impl PartialEq for SubIdSource
impl PartialEq for SubIdSource
impl Copy for SubIdSource
impl Eq for SubIdSource
impl StructuralPartialEq for SubIdSource
Auto Trait Implementations§
impl Freeze for SubIdSource
impl RefUnwindSafe for SubIdSource
impl Send for SubIdSource
impl Sync for SubIdSource
impl Unpin for SubIdSource
impl UnwindSafe for SubIdSource
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