pub struct MetaCallThrowable { /* private fields */ }Expand description
Represents MetaCall throwable. Keep in mind that it’s not supported to pass a throwable as an argument.
Implementations§
Source§impl MetaCallThrowable
impl MetaCallThrowable
Sourcepub fn get_value_untyped(&self) -> Box<dyn MetaCallValue>
pub fn get_value_untyped(&self) -> Box<dyn MetaCallValue>
Gets the throwable value without type casting(MetaCallValue).
Sourcepub fn get_value<T: MetaCallValue>(&self) -> Result<T, Box<dyn MetaCallValue>>
pub fn get_value<T: MetaCallValue>(&self) -> Result<T, Box<dyn MetaCallValue>>
Gets the throwable value.
Trait Implementations§
Source§impl Clone for MetaCallThrowable
impl Clone for MetaCallThrowable
Source§impl Debug for MetaCallThrowable
impl Debug for MetaCallThrowable
Source§impl Display for MetaCallThrowable
impl Display for MetaCallThrowable
Source§impl Drop for MetaCallThrowable
impl Drop for MetaCallThrowable
impl MetaCallValue for MetaCallThrowable
Equivalent to MetaCall throwable type.
impl Send for MetaCallThrowable
impl Sync for MetaCallThrowable
Auto Trait Implementations§
impl Freeze for MetaCallThrowable
impl RefUnwindSafe for MetaCallThrowable
impl Unpin for MetaCallThrowable
impl UnwindSafe for MetaCallThrowable
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