Trait mpdpopm::clients::AsErrorSource
source · pub trait AsErrorSource {
// Required method
fn as_error_source(&self) -> &(dyn Error + 'static);
}
Required Methods§
sourcefn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method to benefit from Rust’s automatic dereferencing of method receivers.