pub type RetainRawFn<'f> = dyn FnMut(&Sha1Id, &[u8]) -> Result<(), BridgeError> + 'f;Expand description
Hook receiving (upstream sha1, framed raw git bytes) for retention.
The explicit lifetime keeps the trait object bound to the
borrower’s scope (a bare dyn alias would default to 'static).