pub enum MetaCallThrowableValue<T: MetaCallValue> {
Exception(MetaCallException),
Other(Box<dyn MetaCallValue>),
Specified(T),
}Expand description
Different types of Throwable value.
Variants§
Exception(MetaCallException)
Exception.
Other(Box<dyn MetaCallValue>)
Other types.
Specified(T)
Specified.
Trait Implementations§
Source§impl<T: Clone + MetaCallValue> Clone for MetaCallThrowableValue<T>
impl<T: Clone + MetaCallValue> Clone for MetaCallThrowableValue<T>
Source§fn clone(&self) -> MetaCallThrowableValue<T>
fn clone(&self) -> MetaCallThrowableValue<T>
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<T> Freeze for MetaCallThrowableValue<T>where
T: Freeze,
impl<T> !RefUnwindSafe for MetaCallThrowableValue<T>
impl<T> !Send for MetaCallThrowableValue<T>
impl<T> !Sync for MetaCallThrowableValue<T>
impl<T> Unpin for MetaCallThrowableValue<T>where
T: Unpin,
impl<T> !UnwindSafe for MetaCallThrowableValue<T>
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