pub trait FsyncConfigSource {
// Required method
fn fsync_lookup(
&self,
section: &str,
subsection: Option<&str>,
key: &str,
) -> Option<&str>;
}Expand description
Minimal read-only config lookup surface accepted by Policy::resolve.
Defined here — not as a concrete GitConfig parameter — because
sley-config depends on this crate, not the other way around. The config
crate implements this over GitConfig::get, so callers holding resolved
configuration pass it directly to Policy::resolve.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".