pub enum GitService {
UploadPack,
ReceivePack,
LfsTransfer(Operation),
}Expand description
Which git service an exec request selects.
Variants§
UploadPack
Serving fetch and clone: protocol v2 with a v0 fallback (the git wire protocol).
ReceivePack
Serving push (the git wire protocol).
LfsTransfer(Operation)
Serving git-lfs 3.0’s pure-SSH transfer (LFS over SSH).
The Operation is part of the exec line, not of a later handshake, so
it is part of the identity of the service the client asked for, and
therefore of the grant level it needs.
Implementations§
Trait Implementations§
Source§impl Clone for GitService
impl Clone for GitService
impl Copy for GitService
Source§impl Debug for GitService
impl Debug for GitService
Source§impl Display for GitService
impl Display for GitService
impl Eq for GitService
Source§impl Hash for GitService
impl Hash for GitService
Source§impl Ord for GitService
impl Ord for GitService
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for GitService
impl PartialEq for GitService
Source§impl PartialOrd for GitService
impl PartialOrd for GitService
impl StructuralPartialEq for GitService
Auto Trait Implementations§
impl Freeze for GitService
impl RefUnwindSafe for GitService
impl Send for GitService
impl Sync for GitService
impl Unpin for GitService
impl UnsafeUnpin for GitService
impl UnwindSafe for GitService
Blanket Implementations§
impl<T> Allocation for T
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.