pub enum DomNodeGetPropertyBoolError {
KeyTooLong,
KeyNotUtf8,
ValueNotBool,
Other {
error_code: i32,
},
}Expand description
An error when attempting to retrieve a boolean property from a DOM node.
Variants§
KeyTooLong
The key was too long.
KeyNotUtf8
The key’s bytes were not valid UTF-8.
ValueNotBool
The property exists, but the value is not a boolean.
Other
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DomNodeGetPropertyBoolError
impl RefUnwindSafe for DomNodeGetPropertyBoolError
impl Send for DomNodeGetPropertyBoolError
impl Sync for DomNodeGetPropertyBoolError
impl Unpin for DomNodeGetPropertyBoolError
impl UnsafeUnpin for DomNodeGetPropertyBoolError
impl UnwindSafe for DomNodeGetPropertyBoolError
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