pub trait AsFDomainObjectType {
// Required method
fn as_fdomain_object_type(self) -> Option<ObjType>;
}
Expand description
Means a value is convertible to an FDomain ObjType
type. This is a type
analogous to zx::ObjectType
but which versions differently to insulate
FDomain from Zircon changes.
Required Methods§
sourcefn as_fdomain_object_type(self) -> Option<ObjType>
fn as_fdomain_object_type(self) -> Option<ObjType>
Convert to a fidl_fuchsia_fdomain::ObjType
.
If this method returns None
, the object type was a type of object
FDomain doesn’t understand.