Struct hg_git_fast_import::git::StdoutTargetRepository
source · pub struct StdoutTargetRepository<'a> { /* private fields */ }
Trait Implementations§
source§impl<'a> From<StdoutLock<'a>> for StdoutTargetRepository<'a>
impl<'a> From<StdoutLock<'a>> for StdoutTargetRepository<'a>
source§fn from(value: StdoutLock<'a>) -> Self
fn from(value: StdoutLock<'a>) -> Self
Converts to this type from the input type.
source§impl<'a> TargetRepository for StdoutTargetRepository<'a>
impl<'a> TargetRepository for StdoutTargetRepository<'a>
fn start_import( &mut self, _git_active_branches: Option<usize>, _default_branch: Option<&str> ) -> Result<(&mut dyn Write, Option<RepositorySavedState>, String), TargetRepositoryError>
fn finish(&mut self) -> Result<(), TargetRepositoryError>
fn verify( &self, _verified_repo: &str, _subfolder: Option<&str> ) -> Result<(), TargetRepositoryError>
fn save_state( &self, _state: RepositorySavedState ) -> Result<(), TargetRepositoryError>
fn get_saved_state(&self) -> Option<&RepositorySavedState>
fn remote_list(&self) -> Result<HashSet<String>, TargetRepositoryError>
fn remote_add( &self, _name: &str, _url: &str ) -> Result<(), TargetRepositoryError>
fn checkout(&self, _branch: &str) -> Result<(), TargetRepositoryError>
fn fetch_all(&self) -> Result<(), TargetRepositoryError>
Auto Trait Implementations§
impl<'a> Freeze for StdoutTargetRepository<'a>
impl<'a> RefUnwindSafe for StdoutTargetRepository<'a>
impl<'a> !Send for StdoutTargetRepository<'a>
impl<'a> Sync for StdoutTargetRepository<'a>
impl<'a> Unpin for StdoutTargetRepository<'a>
impl<'a> UnwindSafe for StdoutTargetRepository<'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