Enum gitoxide_core::pack::receive::Action
pub enum Action {
Continue,
Cancel,
}
Available on crate features
async-client
or blocking-client
only.Expand description
Defines what to do next after certain [Delegate
] operations.
Variants§
Continue
Continue the typical flow of operations in this flow.
Cancel
Return at the next possible opportunity without making further requests, possibly after closing the connection.
Trait Implementations§
§impl Ord for Action
impl Ord for Action
§impl PartialOrd<Action> for Action
impl PartialOrd<Action> for Action
§fn partial_cmp(&self, other: &Action) -> Option<Ordering>
fn partial_cmp(&self, other: &Action) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Action
impl Eq for Action
impl StructuralEq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnwindSafe for Action
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more