#[non_exhaustive]pub enum FetchResponseSection {
Acknowledgments,
ShallowInfo,
WantedRefs,
PackfileUris,
Packfile,
}Expand description
A section header in a protocol-v2 command=fetch response.
See Documentation/gitprotocol-v2.txt (“The response of fetch is broken into a number of
sections…”).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Acknowledgments
Negotiation round-trips (ACK/NAK/ready); omitted when the server jumps straight to the pack.
ShallowInfo
Shallow boundary updates when the client sent deepen / related lines.
WantedRefs
OID resolution for client want-ref lines when ref-in-want is enabled.
PackfileUris
Alternate pack URIs when the client requested packfile-uris.
Packfile
Side-band-64k framed pack data.
Implementations§
Trait Implementations§
Source§impl Clone for FetchResponseSection
impl Clone for FetchResponseSection
impl Copy for FetchResponseSection
Source§impl Debug for FetchResponseSection
impl Debug for FetchResponseSection
impl Eq for FetchResponseSection
Source§impl PartialEq for FetchResponseSection
impl PartialEq for FetchResponseSection
impl StructuralPartialEq for FetchResponseSection
Auto Trait Implementations§
impl Freeze for FetchResponseSection
impl RefUnwindSafe for FetchResponseSection
impl Send for FetchResponseSection
impl Sync for FetchResponseSection
impl Unpin for FetchResponseSection
impl UnsafeUnpin for FetchResponseSection
impl UnwindSafe for FetchResponseSection
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.