Type Definition Result
vault_client
type Result<T> = Result<T, Error>;
Convenient wrapper around std::Result.
std::Result
impl<M: Debug + Send + Sync> ResultLoggingExt<M> for Result<M>
fn log<F>(self, message_fn: F) -> Self where F: Fn(&M) + Send + Sync + 'static,
Logs the current state of Self. In a 'good' state, it will call the logging closure provided. In a 'bad' state, it will just log the appropriate error at 'error' level. Read more
Self