Enum git_protocol::fetch::response::Acknowledgement
source · [−]pub enum Acknowledgement {
Common(ObjectId),
Ready,
Nak,
}
Expand description
An ‘ACK’ line received from the server.
Variants
Common(ObjectId)
The contained id
is in common.
Ready
The server is ready to receive more lines.
Nak
The server isn’t ready yet.
Implementations
Trait Implementations
sourceimpl Clone for Acknowledgement
impl Clone for Acknowledgement
sourcefn clone(&self) -> Acknowledgement
fn clone(&self) -> Acknowledgement
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Acknowledgement
impl Debug for Acknowledgement
sourceimpl Hash for Acknowledgement
impl Hash for Acknowledgement
sourceimpl Ord for Acknowledgement
impl Ord for Acknowledgement
sourceimpl PartialEq<Acknowledgement> for Acknowledgement
impl PartialEq<Acknowledgement> for Acknowledgement
sourcefn eq(&self, other: &Acknowledgement) -> bool
fn eq(&self, other: &Acknowledgement) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &Acknowledgement) -> bool
fn ne(&self, other: &Acknowledgement) -> bool
This method tests for !=
.
sourceimpl PartialOrd<Acknowledgement> for Acknowledgement
impl PartialOrd<Acknowledgement> for Acknowledgement
sourcefn partial_cmp(&self, other: &Acknowledgement) -> Option<Ordering>
fn partial_cmp(&self, other: &Acknowledgement) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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
impl Copy for Acknowledgement
impl Eq for Acknowledgement
impl StructuralEq for Acknowledgement
impl StructuralPartialEq for Acknowledgement
Auto Trait Implementations
impl RefUnwindSafe for Acknowledgement
impl Send for Acknowledgement
impl Sync for Acknowledgement
impl Unpin for Acknowledgement
impl UnwindSafe for Acknowledgement
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