Error
struct · ferroui-dynamic-data · v0.5.0
struct Error<T, K>
An item that an operator could not handle, with its key and the error it raised
(Error<TObject, TKey>): what the error handler of TransformSafe receives.
Members
new
fn new(exception: Option<ObservableError>, value: T, key: K) -> Self
Error(Exception?, TObject value, TKey key).
exception
fn exception(self: &Self) -> Option<&ObservableError>
The error (Exception).
key
fn key(self: &Self) -> &K
The key of the item (Key).
value
fn value(self: &Self) -> &T
The item (Value).
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringEquivalent<K>ClonePartialEqEqHashDisplayDebug
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.