Type Alias noosphere_cli::render::ChangeBufferFlushCallback
source · pub type ChangeBufferFlushCallback<T> = Box<dyn Fn(BTreeMap<String, T>, BTreeSet<String>) -> Pin<Box<dyn Future<Output = Result<()>>>>>;Expand description
The form a callback that can be passed when flushing a ChangeBuffer; note that it is generic for the argument that is passed to the callback.
Aliased Type§
struct ChangeBufferFlushCallback<T>(/* private fields */);Trait Implementations§
1.8.0 · source§impl<T> Error for Box<T, Global>where
T: Error,
impl<T> Error for Box<T, Global>where T: Error,
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§fn cause(&self) -> Option<&dyn Error>
fn cause(&self) -> Option<&dyn Error>
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting