pub trait TryCloneToOwned: Sized {
type Owned;
type Error;
// Required method
fn try_clone_to_owned(&self) -> Result<Self::Owned, Self::Error>;
}Expand description
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl TryCloneToOwned for BorrowedFd<'_>
Available on Unix and crate feature std and neither Hermit nor Motor OS nor Trusty nor WebAssembly only.
impl TryCloneToOwned for BorrowedFd<'_>
Available on Unix and crate feature
std and neither Hermit nor Motor OS nor Trusty nor WebAssembly only.