pub trait AuthorObj: SubDescType + Clone {
type Inner;
// Required methods
fn from_type_less(value: Option<ObjectId>) -> BuckyResult<Self>;
fn from_inner(inner: Self::Inner) -> Self;
}
Required Associated Types§
Required Methods§
fn from_type_less(value: Option<ObjectId>) -> BuckyResult<Self>
fn from_inner(inner: Self::Inner) -> Self
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.