pub enum UiContractError {
Show 18 variants
EmptyField(&'static str),
FieldTooLong(&'static str),
InvalidBounds(String),
InvalidContextForCss,
InvalidSemanticExecutionContext,
EmptySelector,
UnsupportedSnapshotFormat(u16),
EmptySnapshot,
TooManyNodes(usize),
SnapshotTooLarge(usize),
DuplicateStableNodeId(String),
InvalidRootOrder,
MissingOrLateParent(String),
InvalidPreorder(String),
InvalidNodeCount(u32),
InvalidByteLength(u64),
InvalidSnapshotMediaType(String),
InvalidWaitResult,
}Variants§
EmptyField(&'static str)
FieldTooLong(&'static str)
InvalidBounds(String)
InvalidContextForCss
InvalidSemanticExecutionContext
EmptySelector
UnsupportedSnapshotFormat(u16)
EmptySnapshot
TooManyNodes(usize)
SnapshotTooLarge(usize)
DuplicateStableNodeId(String)
InvalidRootOrder
MissingOrLateParent(String)
InvalidPreorder(String)
InvalidNodeCount(u32)
InvalidByteLength(u64)
InvalidSnapshotMediaType(String)
InvalidWaitResult
Trait Implementations§
Source§impl Clone for UiContractError
impl Clone for UiContractError
Source§fn clone(&self) -> UiContractError
fn clone(&self) -> UiContractError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UiContractError
impl Debug for UiContractError
Source§impl Display for UiContractError
impl Display for UiContractError
impl Eq for UiContractError
Source§impl Error for UiContractError
impl Error for UiContractError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for UiContractError
impl PartialEq for UiContractError
impl StructuralPartialEq for UiContractError
Auto Trait Implementations§
impl Freeze for UiContractError
impl RefUnwindSafe for UiContractError
impl Send for UiContractError
impl Sync for UiContractError
impl Unpin for UiContractError
impl UnsafeUnpin for UiContractError
impl UnwindSafe for UiContractError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more