Struct git_credentials::Program
source · [−]Expand description
A program/executable implementing the credential helper protocol.
Fields
kind: Kind
The kind of program, ready for launch.
stderr: bool
If true, stderr is enabled, which is the default.
Implementations
sourceimpl Program
impl Program
Initialization
sourcepub fn from_custom_definition(input: impl Into<BString>) -> Self
pub fn from_custom_definition(input: impl Into<BString>) -> Self
Parse the given input as per the custom helper definition, supporting !<script>
, name
and /absolute/name
, the latter two
also support arguments which are ignored here.
sourceimpl Program
impl Program
Builder
sourcepub fn suppress_stderr(self) -> Self
pub fn suppress_stderr(self) -> Self
By default stderr
of programs is inherited and typically displayed in the terminal.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnwindSafe for Program
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more