fidl_fuchsia_net_ext

Trait FromExt

Source
pub trait FromExt<T> {
    // Required method
    fn from_ext(f: T) -> Self;
}
Expand description

A manual implementation of From.

Required Methods§

Source

fn from_ext(f: T) -> Self

Performs the conversion.

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.

Implementations on Foreign Types§

Source§

impl FromExt<IpAddress> for IpAddr

Source§

impl FromExt<AddrSubnetEither> for Subnet

Source§

impl FromExt<IpAddr> for IpAddress

Source§

impl FromExt<IpVersion> for IpVersion

Source§

impl FromExt<Ipv4Address> for IpAddress

Source§

impl FromExt<Ipv4Address> for Ipv4Addr

Source§

impl FromExt<Ipv4AddressWithPrefix> for Subnet

Source§

impl FromExt<Ipv4SocketAddress> for SocketAddress

Source§

impl FromExt<Ipv6Address> for IpAddress

Source§

impl FromExt<Ipv6Address> for Ipv6Addr

Source§

impl FromExt<Ipv6AddressWithPrefix> for Subnet

Source§

impl FromExt<Ipv6SocketAddress> for SocketAddress

Source§

impl FromExt<MacAddress> for Mac

Source§

impl FromExt<Mac> for MacAddress

Source§

impl FromExt<Ipv4Addr> for Ipv4Address

Source§

impl FromExt<Ipv6Addr> for Ipv6Address

Source§

impl<A: IpAddress> FromExt<AddrSubnet<A>> for Subnet

Source§

impl<A: IpAddress> FromExt<Subnet<A>> for Subnet

Source§

fn from_ext(subnet: Subnet<A>) -> Subnet

Implementors§