BindingChainError
struct · ferroui-base · v0.5.0
struct BindingChainError
An error that signals that a binding chain is broken: the value could not be read at some point of the binding path.
Members
newwith_messagewith_expressionexpressionset_expressionexpression_error_pointset_expression_error_pointmessage
new
fn new() -> Self
with_message
fn with_message(message: impl Into<String>) -> Self
with_expression
fn with_expression(message: impl Into<String>, expression: impl Into<String>, error_point: impl Into<String>) -> Self
expression
fn expression(self: &Self) -> Option<&str>
The expression that could not be evaluated.
set_expression
fn set_expression(self: &mut Self, value: Option<String>)
Sets the expression that could not be evaluated (the protected setter of Expression).
expression_error_point
fn expression_error_point(self: &Self) -> Option<&str>
The point in the expression at which the error occurred.
set_expression_error_point
fn set_expression_error_point(self: &mut Self, value: Option<String>)
Sets the point in the expression at which the error occurred (the protected setter of
ExpressionErrorPoint).
message
fn message(self: &Self) -> String
The full message, including the expression and error point.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeClassDefaultsBorrow<T>BorrowMut<T>CloneToUninitInto<U>From<T>TryInto<U>TryFrom<U>AnyToOwnedToStringErasedDestructorIntoEitherCloneDebugDefaultDisplayError
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.