pub struct Platform<'a, 's> {
pub store: &'s Store,
pub name: &'a FullNameRef,
pub buf: Vec<u8>,
}
Expand description
A platform to store a buffer to hold ref log lines for iteration.
Fields§
§store: &'s Store
The store containing the reflogs
name: &'a FullNameRef
The full name of the reference whose reflog to retrieve.
buf: Vec<u8>
A reusable buffer for storing log lines read from disk.
Implementations§
Auto Trait Implementations§
impl<'a, 's> Freeze for Platform<'a, 's>
impl<'a, 's> !RefUnwindSafe for Platform<'a, 's>
impl<'a, 's> !Send for Platform<'a, 's>
impl<'a, 's> !Sync for Platform<'a, 's>
impl<'a, 's> Unpin for Platform<'a, 's>
impl<'a, 's> !UnwindSafe for Platform<'a, 's>
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