pub struct Config {
pub agent: String,
pub budget: Option<usize>,
pub notice: Option<String>,
pub pack_ceiling: Option<PackCeiling>,
}Expand description
Knobs for one push.
Fields§
§agent: StringThe agent= string.
budget: Option<usize>Traversal budget for the connectivity check.
notice: Option<String>A line the client is told beside the report, on the progress band
(remote: …), for a push that is ALLOWED but carries a warning — the
metered appliance’s plan expired <date>; renew at <url> for a tenant
in Grace. None prints nothing. Sent only when the client negotiated a
sideband, which every git since 1.7 does; a client without one gets the
bare report, never a line where the report should be.
pack_ceiling: Option<PackCeiling>The mid-upload ceiling. None — the default, and what a community
build with no byte cap installs — reads the pack to its end whatever
its size, which is what every gunnar before 2026-09-05 did. See
PackCeiling.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Config
impl !UnwindSafe for Config
impl Freeze for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnsafeUnpin for Config
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