pub enum ProtocolV2Command {
LsRefs(ProtocolV2LsRefsRequest),
Fetch(ProtocolV2FetchRequest),
ObjectInfo(ProtocolV2ObjectInfoRequest),
Unknown(ProtocolV2CommandRequest),
}Variants§
LsRefs(ProtocolV2LsRefsRequest)
Fetch(ProtocolV2FetchRequest)
ObjectInfo(ProtocolV2ObjectInfoRequest)
Unknown(ProtocolV2CommandRequest)
Trait Implementations§
Source§impl Clone for ProtocolV2Command
impl Clone for ProtocolV2Command
Source§fn clone(&self) -> ProtocolV2Command
fn clone(&self) -> ProtocolV2Command
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 moreSource§impl Debug for ProtocolV2Command
impl Debug for ProtocolV2Command
impl Eq for ProtocolV2Command
Source§impl PartialEq for ProtocolV2Command
impl PartialEq for ProtocolV2Command
Source§fn eq(&self, other: &ProtocolV2Command) -> bool
fn eq(&self, other: &ProtocolV2Command) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtocolV2Command
Auto Trait Implementations§
impl Freeze for ProtocolV2Command
impl RefUnwindSafe for ProtocolV2Command
impl Send for ProtocolV2Command
impl Sync for ProtocolV2Command
impl Unpin for ProtocolV2Command
impl UnsafeUnpin for ProtocolV2Command
impl UnwindSafe for ProtocolV2Command
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