[−][src]Struct git2::Mempack
A structure to represent a mempack backend for the object database. The Mempack is bound to the Odb that it was created from, and cannot outlive that Odb.
Implementations
impl<'odb> Mempack<'odb>
[src]
pub fn dump(&self, repo: &Repository, buf: &mut Buf) -> Result<(), Error>
[src]
Dumps the contents of the mempack into the provided buffer.
pub fn reset(&self) -> Result<(), Error>
[src]
Clears all data in the mempack.
Auto Trait Implementations
impl<'odb> RefUnwindSafe for Mempack<'odb>
[src]
impl<'odb> !Send for Mempack<'odb>
[src]
impl<'odb> !Sync for Mempack<'odb>
[src]
impl<'odb> Unpin for Mempack<'odb>
[src]
impl<'odb> UnwindSafe for Mempack<'odb>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,