Enum gix_protocol::fetch::response::Acknowledgement
source · pub enum Acknowledgement {
Common(ObjectId),
Ready,
Nak,
}
Available on crate features
blocking-client
or async-client
only.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§
source§impl Clone for Acknowledgement
impl Clone for Acknowledgement
source§fn clone(&self) -> Acknowledgement
fn clone(&self) -> Acknowledgement
Returns a copy of the value. Read more
1.0.0 · 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 Acknowledgement
impl Debug for Acknowledgement
source§impl<'de> Deserialize<'de> for Acknowledgement
impl<'de> Deserialize<'de> for Acknowledgement
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for Acknowledgement
impl Hash for Acknowledgement
source§impl Ord for Acknowledgement
impl Ord for Acknowledgement
source§fn cmp(&self, other: &Acknowledgement) -> Ordering
fn cmp(&self, other: &Acknowledgement) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for Acknowledgement
impl PartialEq for Acknowledgement
source§impl PartialOrd for Acknowledgement
impl PartialOrd for Acknowledgement
source§impl Serialize for Acknowledgement
impl Serialize for Acknowledgement
impl Copy for Acknowledgement
impl Eq for Acknowledgement
impl StructuralPartialEq for Acknowledgement
Auto Trait Implementations§
impl Freeze for Acknowledgement
impl RefUnwindSafe for Acknowledgement
impl Send for Acknowledgement
impl Sync for Acknowledgement
impl Unpin for Acknowledgement
impl UnwindSafe for Acknowledgement
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)