pub struct Unixexec {
pub path: String,
pub argv0: Option<String>,
pub argv: Vec<String>,
pub guid: Option<[u8; 16]>,
}
Expand description
This represents a DBus server address with the prefix unixexec:
.
Fields§
§path: String
Path of the binary to execute.
argv0: Option<String>
The program name to use when executing the binary. If omitted the same value as specified
for path
will be used.
argv: Vec<String>
Arguments to pass to the binary.
guid: Option<[u8; 16]>
The GUID of the Address.
Implementations§
Source§impl Unixexec
impl Unixexec
pub fn is_connectable(&self) -> bool
pub fn is_listenable(&self) -> bool
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