Enum gix_protocol::ls_refs::Action
source · pub enum Action {
Continue,
Skip,
}
Available on crate features
blocking-client
or async-client
only.Expand description
What to do after preparing ls-refs in ls_refs().
Variants§
Continue
Continue by sending a ‘ls-refs’ command.
Skip
Skip ‘ls-refs’ entirely.
This is useful if the ref-in-want
capability is taken advantage of. When fetching, one must must then send
want-ref
s during the negotiation phase.
Trait Implementations§
source§impl Ord for Action
impl Ord for Action
source§impl PartialEq<Action> for Action
impl PartialEq<Action> for Action
source§impl PartialOrd<Action> for Action
impl PartialOrd<Action> for Action
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 more