dhcp_protocol

Trait FromFidlExt

Source
pub trait FromFidlExt<F>: FidlCompatible<F, FromError = Infallible> {
    // Provided method
    fn from_fidl(fidl: F) -> Self { ... }
}
Expand description

Utility trait for infallible FIDL conversion.

Provided Methods§

Source

fn from_fidl(fidl: F) -> Self

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.

Implementors§

Source§

impl<F, C: FidlCompatible<F, FromError = Infallible>> FromFidlExt<F> for C