pub enum PullError {
BareRepository,
Failure(String),
IOError(Error),
InvalidReference,
NoChanges,
NoUpstream,
ReferenceNotFound,
UTF8Decode(FromUtf8Error),
WorkTreeDirty,
}
Expand description
Failed to update a subtree from remote
Variants
BareRepository
Failure(String)
IOError(Error)
InvalidReference
NoChanges
NoUpstream
ReferenceNotFound
UTF8Decode(FromUtf8Error)
WorkTreeDirty
Trait Implementations
sourceimpl From<InvalidRefError> for PullError
impl From<InvalidRefError> for PullError
sourcefn from(_prev: InvalidRefError) -> Self
fn from(_prev: InvalidRefError) -> Self
Performs the conversion.
sourceimpl From<PullError> for PosixError
impl From<PullError> for PosixError
sourceimpl From<RefSearchError> for PullError
impl From<RefSearchError> for PullError
sourcefn from(prev: RefSearchError) -> Self
fn from(prev: RefSearchError) -> Self
Performs the conversion.
sourceimpl From<SubtreePullError> for PullError
impl From<SubtreePullError> for PullError
sourcefn from(prev: SubtreePullError) -> Self
fn from(prev: SubtreePullError) -> Self
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for PullError
impl Send for PullError
impl Sync for PullError
impl Unpin for PullError
impl UnwindSafe for PullError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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