pub trait TryCloneToOwned: Sized {
type Owned;
type Err;
// Required method
fn try_clone_to_owned(&self) -> Result<Self::Owned, Self::Err>;
}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", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl TryCloneToOwned for BorrowedFd<'_>
Available on crate feature std and Unix and neither WebAssembly nor HermitCore nor target_os=trusty nor target_os=motor only.
impl TryCloneToOwned for BorrowedFd<'_>
Available on crate feature
std and Unix and neither WebAssembly nor HermitCore nor target_os=trusty nor target_os=motor only.