pub struct GitBackend { /* private fields */ }Implementations§
Source§impl GitBackend
impl GitBackend
pub fn new(repo_path: PathBuf) -> Self
pub fn advertise_refs(&self) -> Result<Vec<u8>>
pub fn advertise_receive_refs(&self) -> Result<Vec<u8>>
pub async fn upload_pack( &self, request: &UploadPackRequest, ) -> Result<impl AsyncRead + use<>>
pub async fn receive_pack<R>(&self, request: R) -> Result<Vec<u8>>
Auto Trait Implementations§
impl Freeze for GitBackend
impl RefUnwindSafe for GitBackend
impl Send for GitBackend
impl Sync for GitBackend
impl Unpin for GitBackend
impl UnsafeUnpin for GitBackend
impl UnwindSafe for GitBackend
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