pub struct Sudo {
prefix: Vec<String>,
_shim: Option<TempShim>,
}Expand description
Resolved sudo strategy: the argv prefix plus any owned askpass shim.
Fields§
§prefix: Vec<String>e.g. [] (root), ["sudo", "-A"], or ["sudo", "-n"].
_shim: Option<TempShim>Implementations§
Auto Trait Implementations§
impl Freeze for Sudo
impl RefUnwindSafe for Sudo
impl Send for Sudo
impl Sync for Sudo
impl Unpin for Sudo
impl UnsafeUnpin for Sudo
impl UnwindSafe for Sudo
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