pub enum Service {
UploadPack,
ReceivePack,
}Expand description
The Git service a Connection speaks.
Variants§
UploadPack
git-upload-pack — the server side of a fetch/clone.
ReceivePack
git-receive-pack — the server side of a push.
Implementations§
Trait Implementations§
impl Copy for Service
impl Eq for Service
impl StructuralPartialEq for Service
Auto Trait Implementations§
impl Freeze for Service
impl RefUnwindSafe for Service
impl Send for Service
impl Sync for Service
impl Unpin for Service
impl UnsafeUnpin for Service
impl UnwindSafe for Service
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