pub struct Invocation { /* private fields */ }Expand description
The arguments forwarded to a plug-in, excluding the executable name.
Implementations§
Source§impl Invocation
impl Invocation
Sourcepub fn from_env() -> Result<Self, ProtocolError>
pub fn from_env() -> Result<Self, ProtocolError>
Connect to gutil and capture the argument iterator.
§Errors
Returns an error if the process was started without a protocol version or the supplied version is unsupported.
Auto Trait Implementations§
impl !Send for Invocation
impl !Sync for Invocation
impl Forget for Invocation
impl Freeze for Invocation
impl Move for Invocation
impl RefUnwindSafe for Invocation
impl Unpin for Invocation
impl UnsafeUnpin for Invocation
impl UnwindSafe for Invocation
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