1use crate::errors::{OakError, OakErrorKind}; 2 3impl From<OakErrorKind> for OakError { 4 fn from(kind: OakErrorKind) -> Self { 5 Self { kind: Box::new(kind) } 6 } 7}