pub enum UserOpt {
User(String),
UserGroup(String, String),
Uid(isize),
UidGid(isize, isize),
}
Expand description
One of the variants accepted by ExecCreateOptsBuilder::user
.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserOpt
impl RefUnwindSafe for UserOpt
impl Send for UserOpt
impl Sync for UserOpt
impl Unpin for UserOpt
impl UnwindSafe for UserOpt
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