pub enum UserOrIds {
User(ShellString),
Id {
uid: usize,
gid: usize,
},
}Variants§
Trait Implementations§
Source§impl Arbitrary for UserOrIds
impl Arbitrary for UserOrIds
Source§type Parameters = (<ShellString as Arbitrary>::Parameters, (<usize as Arbitrary>::Parameters, <usize as Arbitrary>::Parameters))
type Parameters = (<ShellString as Arbitrary>::Parameters, (<usize as Arbitrary>::Parameters, <usize as Arbitrary>::Parameters))
The type of parameters that
arbitrary_with accepts for configuration
of the generated Strategy. Parameters must implement Default.Source§type Strategy = TupleUnion<((u32, Arc<Map<<ShellString as Arbitrary>::Strategy, fn(ShellString) -> UserOrIds>>), (u32, Arc<Map<(<usize as Arbitrary>::Strategy, <usize as Arbitrary>::Strategy), fn((usize, usize)) -> UserOrIds>>))>
type Strategy = TupleUnion<((u32, Arc<Map<<ShellString as Arbitrary>::Strategy, fn(ShellString) -> UserOrIds>>), (u32, Arc<Map<(<usize as Arbitrary>::Strategy, <usize as Arbitrary>::Strategy), fn((usize, usize)) -> UserOrIds>>))>
The type of
Strategy used to generate values of type Self.Source§fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
fn arbitrary_with(_top: Self::Parameters) -> Self::Strategy
Source§impl Ord for UserOrIds
impl Ord for UserOrIds
Source§impl PartialOrd for UserOrIds
impl PartialOrd for UserOrIds
impl Eq for UserOrIds
impl StructuralPartialEq for UserOrIds
Auto Trait Implementations§
impl Freeze for UserOrIds
impl RefUnwindSafe for UserOrIds
impl Send for UserOrIds
impl Sync for UserOrIds
impl Unpin for UserOrIds
impl UnsafeUnpin for UserOrIds
impl UnwindSafe for UserOrIds
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