pub enum PullResult {
DetachedHead,
Error(String),
FastForward {
remote: RemoteHost,
commits: u16,
from: String,
to: String,
},
UnpullableMerge,
UpToDate,
}Variants§
DetachedHead
Error(String)
FastForward
A ff merge performed with commit count
UnpullableMerge
Fetched changes cannot be ff merged
UpToDate
Remote had nothing to pull
Trait Implementations§
Source§impl Debug for PullResult
impl Debug for PullResult
Source§impl PartialEq for PullResult
impl PartialEq for PullResult
impl Eq for PullResult
impl StructuralPartialEq for PullResult
Auto Trait Implementations§
impl Freeze for PullResult
impl RefUnwindSafe for PullResult
impl Send for PullResult
impl Sync for PullResult
impl Unpin for PullResult
impl UnwindSafe for PullResult
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