wlan_fidl_ext::try_unpack

Trait WithName

Source
pub trait WithName<T>: Sized {
    // Required method
    fn with_name<A>(self, name: A) -> NamedField<T, A>;
}

Required Methods§

Source

fn with_name<A>(self, name: A) -> NamedField<T, A>

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<T> WithName<Option<T>> for Option<T>

Source§

fn with_name<A>(self, name: A) -> NamedField<Option<T>, A>

Implementors§