pub enum MetaCallGetAttributeError {
FailedCasting(Box<dyn MetaCallValue>),
UnexpectedCStringConversionErr(MetaCallStringConversionError),
}
Expand description
This error may happen when trying to get a class/object attribute.
Variants§
FailedCasting(Box<dyn MetaCallValue>)
Failed to cast the attribute as the type requested.
UnexpectedCStringConversionErr(MetaCallStringConversionError)
Null character detected.
Trait Implementations§
Source§impl Clone for MetaCallGetAttributeError
impl Clone for MetaCallGetAttributeError
Source§fn clone(&self) -> MetaCallGetAttributeError
fn clone(&self) -> MetaCallGetAttributeError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for MetaCallGetAttributeError
impl !RefUnwindSafe for MetaCallGetAttributeError
impl !Send for MetaCallGetAttributeError
impl !Sync for MetaCallGetAttributeError
impl Unpin for MetaCallGetAttributeError
impl !UnwindSafe for MetaCallGetAttributeError
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