Trait TryClone
fallible
pub trait TryClone: Sized { type Error; fn try_clone(&self) -> Result<Self, Self::Error>; fn try_clone_from(&mut self, other: &Self) -> Result<(), Self::Error> { ... } }
type Error
fn try_clone(&self) -> Result<Self, Self::Error>
fn try_clone_from(&mut self, other: &Self) -> Result<(), Self::Error>
impl<T: Clone> TryClone for T
type Error = Void
fn try_clone(&self) -> Result<Self, Void>
fn try_clone_from(&mut self, other: &Self) -> Result<(), Void>