pub trait AsFDomainRights {
// Required methods
fn as_fdomain_rights(self) -> Option<Rights>;
fn as_fdomain_rights_truncate(self) -> Rights;
}
Expand description
Means a value is convertible to an FDomain Rights
type. This is a type
analogous to zx::Rights
but which versions differently to insulate FDomain
from Zircon changes.
Required Methods§
sourcefn as_fdomain_rights(self) -> Option<Rights>
fn as_fdomain_rights(self) -> Option<Rights>
Convert to a fidl_fuchsia_fdomain::Rights
.
If this method returns None
, the object type was a type of object
FDomain doesn’t understand.
sourcefn as_fdomain_rights_truncate(self) -> Rights
fn as_fdomain_rights_truncate(self) -> Rights
Convert to a fidl_fuchsia_fdomain::Rights
.
If any rights aren’t understood by FDomain, those rights are silently omitted.