ErrorConverter
struct · ferroui-controls · v0.5.0
struct ErrorConverter
Converts an error of a control into the object that is shown for it; an
error converted to None is dropped.
Two converters are equal when they are the same function object.
Members
new
fn new(convert: impl Fn(&BoxedValue) -> Option<BoxedValue> + 'static) -> Self
convert
fn convert(self: &Self, error: &BoxedValue) -> Option<BoxedValue>
Converts an error.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedPropertyValueAnyValueClassDefaultsErasedDestructorIntoEitherClonePartialEqDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.