subspace_networking

Trait LocalRecordProvider

Source
pub trait LocalRecordProvider {
    // Required method
    fn record(&self, key: &RecordKey) -> Option<ProviderRecord>;
}
Expand description

Trait to be implemented on providers of local records

Required Methods§

Source

fn record(&self, key: &RecordKey) -> Option<ProviderRecord>

Gets a provider record for key that is stored locally

Implementations on Foreign Types§

Source§

impl LocalRecordProvider for ()

Source§

fn record(&self, _key: &RecordKey) -> Option<ProviderRecord>

Implementors§