fidl_fuchsia_net_ext

Trait TryFromExt

Source
pub trait TryFromExt<T>: Sized {
    type Error;

    // Required method
    fn try_from_ext(f: T) -> Result<Self, Self::Error>;
}
Expand description

A manual implementation of TryFrom.

Required Associated Types§

Required Methods§

Source

fn try_from_ext(f: T) -> Result<Self, Self::Error>

Tries to perform 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 TryFromExt<Ipv4AddressWithPrefix> for Subnet<Ipv4Addr>

Source§

impl TryFromExt<Ipv6AddressWithPrefix> for Subnet<Ipv6Addr>

Implementors§