pub struct Unixexec<'a> { /* private fields */ }Expand description
unixexec: D-Bus transport.
https://dbus.freedesktop.org/doc/dbus-specification.html#transports-exec
Implementations§
Source§impl<'a> Unixexec<'a>
impl<'a> Unixexec<'a>
Sourcepub fn path(&self) -> &OsStr
pub fn path(&self) -> &OsStr
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.
Sourcepub fn argv(&self) -> &[(usize, Cow<'a, str>)]
pub fn argv(&self) -> &[(usize, Cow<'a, str>)]
Arguments.
Arguments to pass to the binary as [(nth, arg),...].
Sourcepub fn into_owned(self) -> Unixexec<'static>
pub fn into_owned(self) -> Unixexec<'static>
Convert into owned version, with ’static lifetime.
Trait Implementations§
impl<'a> Eq for Unixexec<'a>
impl<'a> StructuralPartialEq for Unixexec<'a>
Auto Trait Implementations§
impl<'a> Freeze for Unixexec<'a>
impl<'a> RefUnwindSafe for Unixexec<'a>
impl<'a> Send for Unixexec<'a>
impl<'a> Sync for Unixexec<'a>
impl<'a> Unpin for Unixexec<'a>
impl<'a> UnwindSafe for Unixexec<'a>
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