Struct gix_negotiate::Metadata
source · pub struct Metadata {
pub original_ttl: u16,
pub ttl: u16,
pub flags: Flags,
}
Expand description
Additional data to store with each commit when used by any of our algorithms.
It’s shared among those who use the Negotiator
trait, and all implementations of it.
Fields§
§original_ttl: u16
Used by skipping
.
Only used if commit is not COMMON
ttl: u16
Used by skipping
.
flags: Flags
Additional information about each commit
Trait Implementations§
impl Copy for Metadata
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)