referrerpolicy=no-referrer-when-downgrade

Trait snowbridge_core::StaticLookup

source ·
pub trait StaticLookup {
    type Source;
    type Target;

    // Required method
    fn lookup(s: Self::Source) -> Option<Self::Target>;
}

Required Associated Types§

source

type Source

Type to lookup from.

source

type Target

Type to lookup into.

Required Methods§

source

fn lookup(s: Self::Source) -> Option<Self::Target>

Attempt a lookup.

Object Safety§

This trait is not object safe.

Implementors§