Function set_default
pub fn set_default(dispatcher: &Dispatch) -> DefaultGuardAvailable on crate feature
std only.Expand description
Sets the dispatch as the default dispatch for the duration of the lifetime of the returned DefaultGuard
Note: This function required the Rust standard library.
no_stdusers should useset_global_defaultinstead.