pub trait ToOwnedPod {
    type PodType: Sized;

    // Required method
    fn to_owned_pod(&self) -> Result<AllocPod<Self::PodType>, PodError>;
}
Expand description

Allow to convert borrowed pod to allocated.

Required Associated Types§

source

type PodType: Sized

Type of the pod

Required Methods§

source

fn to_owned_pod(&self) -> Result<AllocPod<Self::PodType>, PodError>

Allocate pod and clone content from the given borrowed

Implementations on Foreign Types§

source§

impl<'a, T> ToOwnedPod for &'a Twhere &'a T: CloneTo,

Implementors§