pub enum PushThinMode {
Auto,
Always,
Never,
}Expand description
Whether push pack generation may use thin-pack deltas against remote objects.
Variants§
Auto
Git’s default: request/use thin packs unless the remote advertises
no-thin.
Always
Explicit --thin; still respects a remote no-thin advertisement.
Never
Explicit --no-thin.
Trait Implementations§
Source§impl Clone for PushThinMode
impl Clone for PushThinMode
Source§fn clone(&self) -> PushThinMode
fn clone(&self) -> PushThinMode
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 Copy for PushThinMode
Source§impl Debug for PushThinMode
impl Debug for PushThinMode
Source§impl Default for PushThinMode
impl Default for PushThinMode
Source§fn default() -> PushThinMode
fn default() -> PushThinMode
Returns the “default value” for a type. Read more
impl Eq for PushThinMode
Source§impl PartialEq for PushThinMode
impl PartialEq for PushThinMode
Source§fn eq(&self, other: &PushThinMode) -> bool
fn eq(&self, other: &PushThinMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PushThinMode
Auto Trait Implementations§
impl Freeze for PushThinMode
impl RefUnwindSafe for PushThinMode
impl Send for PushThinMode
impl Sync for PushThinMode
impl Unpin for PushThinMode
impl UnsafeUnpin for PushThinMode
impl UnwindSafe for PushThinMode
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