Trait RefTargetOptionExt

Source
pub trait RefTargetOptionExt {
    type Value;

    // Required method
    fn flatten(self) -> Self::Value;
}
Expand description

Helper to strip redundant Option<T> from RefTarget lookup result.

Required Associated Types§

Required Methods§

Source

fn flatten(self) -> Self::Value

Implementations on Foreign Types§

Source§

impl RefTargetOptionExt for Option<RefTarget>

Source§

impl RefTargetOptionExt for Option<RemoteRef>

Source§

impl<'a> RefTargetOptionExt for Option<&'a RefTarget>

Source§

type Value = &'a RefTarget

Source§

fn flatten(self) -> Self::Value

Source§

impl<'a> RefTargetOptionExt for Option<&'a RemoteRef>

Source§

type Value = &'a RemoteRef

Source§

fn flatten(self) -> Self::Value

Implementors§