-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Labels
crate:fluent-resmgrenhancementhelp wantedWe need help making decisions or writing PRs for this.We need help making decisions or writing PRs for this.
Description
fluent-rs/fluent-resmgr/src/resource_manager.rs
Lines 107 to 135 in 9e62af6
impl Stream for BundleIter { | |
type Item = FluentBundleResult<FluentResource>; | |
fn poll_next( | |
self: std::pin::Pin<&mut Self>, | |
_cx: &mut std::task::Context<'_>, | |
) -> std::task::Poll<Option<Self::Item>> { | |
todo!() | |
} | |
} | |
impl BundleGenerator for ResourceManager { | |
type Resource = FluentResource; | |
type LocalesIter = std::vec::IntoIter<LanguageIdentifier>; | |
type Iter = BundleIter; | |
type Stream = BundleIter; | |
fn bundles_iter(&self, locales: Self::LocalesIter, res_ids: Vec<ResourceId>) -> Self::Iter { | |
BundleIter { locales, res_ids } | |
} | |
fn bundles_stream( | |
&self, | |
_locales: Self::LocalesIter, | |
_res_ids: Vec<ResourceId>, | |
) -> Self::Stream { | |
todo!() | |
} | |
} |
Metadata
Metadata
Assignees
Labels
crate:fluent-resmgrenhancementhelp wantedWe need help making decisions or writing PRs for this.We need help making decisions or writing PRs for this.