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 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