Objects that can be duplicated.
trait MaybeClone {
/* Required methods */
fn maybe_clone(&self) -> Result<Self, Errno>
}| Receiver | Name | Description |
|---|---|---|
&self | maybe_clone | Clones the value. |
Duplication might not succeed (e.g. out of memory) in which case an error is returned.