pub enum PropertyValueError {
Shape,
}Expand description
A property value that PropertyValue cannot represent.
Variants§
Shape
The value is not a string, an array of strings or null.
Trait Implementations§
Source§impl Clone for PropertyValueError
impl Clone for PropertyValueError
Source§fn clone(&self) -> PropertyValueError
fn clone(&self) -> PropertyValueError
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 moreimpl Copy for PropertyValueError
Source§impl Debug for PropertyValueError
impl Debug for PropertyValueError
Source§impl Display for PropertyValueError
impl Display for PropertyValueError
impl Eq for PropertyValueError
Source§impl Error for PropertyValueError
impl Error for PropertyValueError
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 PropertyValueError
impl PartialEq for PropertyValueError
impl StructuralPartialEq for PropertyValueError
Auto Trait Implementations§
impl Freeze for PropertyValueError
impl RefUnwindSafe for PropertyValueError
impl Send for PropertyValueError
impl Sync for PropertyValueError
impl Unpin for PropertyValueError
impl UnsafeUnpin for PropertyValueError
impl UnwindSafe for PropertyValueError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.