pub trait FidlRouteIpExt: Ip {
type StateMarker: DiscoverableProtocolMarker;
type WatcherMarker: ProtocolMarker;
type WatchEvent: TryInto<Event<Self>, Error = FidlConversionError<InstalledRouteRequiredFields>> + TryFrom<Event<Self>, Error = NetTypeConversionError> + Clone + Debug + PartialEq + Unpin + Send;
type Route: TryFrom<Route<Self>, Error = NetTypeConversionError> + TryInto<Route<Self>, Error = FidlConversionError<RoutePropertiesRequiredFields>> + Debug;
}
Expand description
IP Extension for the fuchsia.net.routes
FIDL API.
Required Associated Types§
Sourcetype StateMarker: DiscoverableProtocolMarker
type StateMarker: DiscoverableProtocolMarker
The “state” protocol to use for this IP version.
Sourcetype WatcherMarker: ProtocolMarker
type WatcherMarker: ProtocolMarker
The “watcher” protocol to use for this IP version.
Sourcetype WatchEvent: TryInto<Event<Self>, Error = FidlConversionError<InstalledRouteRequiredFields>> + TryFrom<Event<Self>, Error = NetTypeConversionError> + Clone + Debug + PartialEq + Unpin + Send
type WatchEvent: TryInto<Event<Self>, Error = FidlConversionError<InstalledRouteRequiredFields>> + TryFrom<Event<Self>, Error = NetTypeConversionError> + Clone + Debug + PartialEq + Unpin + Send
The type of “event” returned by this IP version’s watcher protocol.
Sourcetype Route: TryFrom<Route<Self>, Error = NetTypeConversionError> + TryInto<Route<Self>, Error = FidlConversionError<RoutePropertiesRequiredFields>> + Debug
type Route: TryFrom<Route<Self>, Error = NetTypeConversionError> + TryInto<Route<Self>, Error = FidlConversionError<RoutePropertiesRequiredFields>> + Debug
The “route” FIDL type to use for this IP version.
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.