Trait cyfs_base::OwnerObj

source ·
pub trait OwnerObj: 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§

source

fn from_type_less(value: Option<ObjectId>) -> BuckyResult<Self>

source

fn from_inner(inner: Self::Inner) -> Self

Implementations on Foreign Types§

source§

impl OwnerObj for Option<ObjectId>

§

type Inner = ObjectId

source§

fn from_type_less(value: Option<ObjectId>) -> BuckyResult<Self>

source§

fn from_inner(inner: Self::Inner) -> Self

Implementors§