Skip to main content

UnmountedStorageProber

Type Alias UnmountedStorageProber 

Source
pub type UnmountedStorageProber = Box<dyn Fn(&str) -> Option<UnmountedMemStorage> + Send + Sync>;
Expand description

Discovery hook: mem name → its storage, when the workspace layer can find any (None = no discoverable storage; the forward-reference mechanic governs, exactly as before). Boxed closure rather than a function pointer because discovery needs the workspace root and gitdir captured at boot.

Aliased Type§

pub struct UnmountedStorageProber(/* private fields */);