pub fn as_unwound(&self) -> (&VmErrorKind, Option<(&Arc<Unit>, usize, Vec<CallFrame>)>) {
        match &*self.kind {
            VmErrorKind::Unwound {
                kind,
                unit,
                ip,
                frames,
            } => (&*kind, Some((unit, *ip, frames.clone()))),
            kind => (kind, None),
        }
    }
/// Unpack an unwinded error, if it is present.
Unpack an unwinded error, if it is present.
Unpack an unwinded error if it is present .
pub fn as_unwound(&self) -> (&VmErrorKind, Option<(&Arc<Unit>, usize, Vec<CallFrame>)>) {
        match &*self.kind {
            VmErrorKind::Unwound {
                kind,
                unit,
                ip,
                frames,
            } => (&*kind, Some((unit, *ip, frames.clone()))),
            kind => (kind, None),
        }
    }
pub fn as_unwound ( & self ) -> ( & VmErrorKind , Option < ( & Arc < Unit > , usize , Vec < CallFrame > ) > ) { match & * self . kind { VmErrorKind :: Unwound { kind , unit , ip , frames , } => ( & * kind , Some ( ( unit , * ip , frames . clone ( ) ) ) ) , kind => ( kind , None ) , } }
Unpack an unwinded error, if it is present.
Unpack an unwinded error if it is present .
&self
&self