pub enum ProtocolV2FetchResponseSection {
Acknowledgments(Vec<ProtocolV2FetchAcknowledgment>),
ShallowInfo(Vec<ProtocolV2FetchShallowInfo>),
WantedRefs(Vec<ProtocolV2FetchWantedRef>),
PackfileUris(Vec<ProtocolV2FetchPackfileUri>),
Packfile(Vec<Vec<u8>>),
Unknown {
name: String,
lines: Vec<Vec<u8>>,
},
}Variants§
Acknowledgments(Vec<ProtocolV2FetchAcknowledgment>)
ShallowInfo(Vec<ProtocolV2FetchShallowInfo>)
WantedRefs(Vec<ProtocolV2FetchWantedRef>)
PackfileUris(Vec<ProtocolV2FetchPackfileUri>)
Packfile(Vec<Vec<u8>>)
Unknown
Trait Implementations§
Source§impl Clone for ProtocolV2FetchResponseSection
impl Clone for ProtocolV2FetchResponseSection
Source§fn clone(&self) -> ProtocolV2FetchResponseSection
fn clone(&self) -> ProtocolV2FetchResponseSection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Eq for ProtocolV2FetchResponseSection
Source§impl PartialEq for ProtocolV2FetchResponseSection
impl PartialEq for ProtocolV2FetchResponseSection
Source§fn eq(&self, other: &ProtocolV2FetchResponseSection) -> bool
fn eq(&self, other: &ProtocolV2FetchResponseSection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtocolV2FetchResponseSection
Auto Trait Implementations§
impl Freeze for ProtocolV2FetchResponseSection
impl RefUnwindSafe for ProtocolV2FetchResponseSection
impl Send for ProtocolV2FetchResponseSection
impl Sync for ProtocolV2FetchResponseSection
impl Unpin for ProtocolV2FetchResponseSection
impl UnsafeUnpin for ProtocolV2FetchResponseSection
impl UnwindSafe for ProtocolV2FetchResponseSection
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