pub struct GitSubprocessUi<'a> { /* private fields */ }Expand description
Ui adapter to forward Git command outputs.
Implementations§
Trait Implementations§
Source§impl GitSubprocessCallback for GitSubprocessUi<'_>
impl GitSubprocessCallback for GitSubprocessUi<'_>
Source§fn needs_progress(&self) -> bool
fn needs_progress(&self) -> bool
Whether to request progress information.
Source§fn progress(&mut self, progress: &GitProgress) -> Result<()>
fn progress(&mut self, progress: &GitProgress) -> Result<()>
Progress of local and remote operations.
Source§fn local_sideband(
&mut self,
message: &[u8],
term: Option<GitSidebandLineTerminator>,
) -> Result<()>
fn local_sideband( &mut self, message: &[u8], term: Option<GitSidebandLineTerminator>, ) -> Result<()>
Single-line message that doesn’t look like remote sideband or error. Read more
Source§fn remote_sideband(
&mut self,
message: &[u8],
term: Option<GitSidebandLineTerminator>,
) -> Result<()>
fn remote_sideband( &mut self, message: &[u8], term: Option<GitSidebandLineTerminator>, ) -> Result<()>
Single-line sideband message received from remote.
Auto Trait Implementations§
impl<'a> Freeze for GitSubprocessUi<'a>
impl<'a> !RefUnwindSafe for GitSubprocessUi<'a>
impl<'a> Send for GitSubprocessUi<'a>
impl<'a> Sync for GitSubprocessUi<'a>
impl<'a> Unpin for GitSubprocessUi<'a>
impl<'a> !UnwindSafe for GitSubprocessUi<'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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more