pub enum PropertyError {
PropertyNotFound,
TypeMismatch,
}
Expand description
Errors that can occur when working with properties
Variants§
PropertyNotFound
The property was not found on the object
TypeMismatch
The property was found, but the type did not match the expected type
Trait Implementations§
Source§impl Debug for PropertyError
impl Debug for PropertyError
Source§impl PartialEq for PropertyError
impl PartialEq for PropertyError
impl StructuralPartialEq for PropertyError
Auto Trait Implementations§
impl Freeze for PropertyError
impl RefUnwindSafe for PropertyError
impl Send for PropertyError
impl Sync for PropertyError
impl Unpin for PropertyError
impl UnwindSafe for PropertyError
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