pub trait AsFDomainSignals {
// Required method
fn as_fdomain_signals(self, ty: ObjType) -> Option<Signals>;
}
Expand description
Means a value is convertible to an FDomain Signals
type. This is a type
analogous to zx::Signals
but which versions differently to insulate
FDomain from Zircon changes.
Required Methods§
sourcefn as_fdomain_signals(self, ty: ObjType) -> Option<Signals>
fn as_fdomain_signals(self, ty: ObjType) -> Option<Signals>
Convert to a fidl_fuchsia_fdomain::Signals
. The object type the signal
will be used on is required to make this conversion unambiguous.
If this method returns None
, either the object type was a type of
object FDomain doesn’t yet support, or some of the signals weren’t
recognized as either general signals or signals for that type.