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§