pub struct RebootCommand {
pub program: String,
pub args: Vec<String>,
}Expand description
One way to ask the system for a restart.
Fields§
§program: String§args: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for RebootCommand
impl Clone for RebootCommand
Source§impl Debug for RebootCommand
impl Debug for RebootCommand
impl Eq for RebootCommand
Source§impl PartialEq for RebootCommand
impl PartialEq for RebootCommand
impl StructuralPartialEq for RebootCommand
Auto Trait Implementations§
impl Forget for RebootCommand
impl Freeze for RebootCommand
impl Move for RebootCommand
impl RefUnwindSafe for RebootCommand
impl Send for RebootCommand
impl Sync for RebootCommand
impl Unpin for RebootCommand
impl UnsafeUnpin for RebootCommand
impl UnwindSafe for RebootCommand
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