pub struct Unixexec { /* private fields */ }
Expand description
unixexec:
D-Bus transport.
https://dbus.freedesktop.org/doc/dbus-specification.html#transports-exec
Implementations§
Source§impl Unixexec
impl Unixexec
Sourcepub fn new(path: PathBuf, arg0: Option<OsString>, args: Vec<OsString>) -> Self
pub fn new(path: PathBuf, arg0: Option<OsString>, args: Vec<OsString>) -> Self
Create a new unixexec transport with the given path and arguments.
Sourcepub fn path(&self) -> &PathBuf
pub fn path(&self) -> &PathBuf
Binary to execute.
Path of the binary to execute, either an absolute path or a binary name that is searched for in the default search path of the OS. This corresponds to the first argument of execlp(). This key is mandatory.
Trait Implementations§
impl Eq for Unixexec
impl StructuralPartialEq for Unixexec
Auto Trait Implementations§
impl Freeze for Unixexec
impl RefUnwindSafe for Unixexec
impl Send for Unixexec
impl Sync for Unixexec
impl Unpin for Unixexec
impl UnwindSafe for Unixexec
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