pub enum AutoName {
Using(AutoNameSettings),
Debug,
}Expand description
Controls how the process name is automatically generated when not explicitly provided.
This determines what information is included in the auto-generated process name used for logging and debugging purposes.
Variants§
Using(AutoNameSettings)
Capture a name from the command as specified by the provided settings.
Example: "ls -la" from Command::new("ls").arg("-la")
Debug
Capture the full Debug representation of the Command.
Example: "Command { std: \"ls\" \"-la\", kill_on_drop: false }"
Note: This includes internal implementation details and may change with tokio updates.
Trait Implementations§
Source§impl From<AutoName> for ProcessName
impl From<AutoName> for ProcessName
impl Copy for AutoName
impl Eq for AutoName
impl StructuralPartialEq for AutoName
Auto Trait Implementations§
impl Freeze for AutoName
impl RefUnwindSafe for AutoName
impl Send for AutoName
impl Sync for AutoName
impl Unpin for AutoName
impl UnwindSafe for AutoName
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