pub enum ObjectError {
NotFound,
InstanceNotFound,
TypeNotSupported,
PropertyNotFound,
UnknownProperty,
PropertyNotWritable,
InvalidPropertyType,
InvalidValue(String),
WriteAccessDenied,
InvalidConfiguration(String),
}Expand description
Errors that can occur with object operations
Variants§
NotFound
Object not found
InstanceNotFound
Object instance not found
TypeNotSupported
Object type not supported
PropertyNotFound
Property not found
UnknownProperty
Unknown property
PropertyNotWritable
Property not writable
InvalidPropertyType
Invalid property type
InvalidValue(String)
Invalid property value
WriteAccessDenied
Write access denied
InvalidConfiguration(String)
Invalid object configuration
Trait Implementations§
Source§impl Debug for ObjectError
impl Debug for ObjectError
Source§impl Display for ObjectError
impl Display for ObjectError
Source§impl Error for ObjectError
Available on crate feature std only.
impl Error for ObjectError
Available on crate feature
std only.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()
Auto Trait Implementations§
impl Freeze for ObjectError
impl RefUnwindSafe for ObjectError
impl Send for ObjectError
impl Sync for ObjectError
impl Unpin for ObjectError
impl UnsafeUnpin for ObjectError
impl UnwindSafe for ObjectError
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