pub enum HostedPullResult {
Success {
final_state: Option<String>,
},
Failed(PullFailure),
}Expand description
Parsed hosted pull: final state string or typed PullFailure.
Variants§
Success
Transport reported success; final_state is the tip when present.
Failed(PullFailure)
Transport reported failure.
Trait Implementations§
Source§impl Clone for HostedPullResult
impl Clone for HostedPullResult
Source§fn clone(&self) -> HostedPullResult
fn clone(&self) -> HostedPullResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HostedPullResult
impl Debug for HostedPullResult
impl Eq for HostedPullResult
Source§impl PartialEq for HostedPullResult
impl PartialEq for HostedPullResult
impl StructuralPartialEq for HostedPullResult
Auto Trait Implementations§
impl Freeze for HostedPullResult
impl RefUnwindSafe for HostedPullResult
impl Send for HostedPullResult
impl Sync for HostedPullResult
impl Unpin for HostedPullResult
impl UnsafeUnpin for HostedPullResult
impl UnwindSafe for HostedPullResult
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