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