pub struct FeedProcessor<S: FeedStorage> { /* private fields */ }Implementations§
Source§impl<S: FeedStorage> FeedProcessor<S>
impl<S: FeedStorage> FeedProcessor<S>
pub fn new(storage: S, profile: Profile) -> Result<Self, S::Error>
pub async fn process_repository( &mut self, repo: &RepositoryInfo, ) -> Result<(), Whatever>
pub async fn process_cob<A>(
&mut self,
__arg1: CobInfo,
typename: &TypeName,
git2_repo: &Repository,
rid: &RepoId,
aliases: &Aliases,
) -> Result<(), Whatever>where
A: Serialize + for<'de> Deserialize<'de>,
Sourcepub async fn get_stats(&self) -> Result<StorageStats, S::Error>
pub async fn get_stats(&self) -> Result<StorageStats, S::Error>
Get storage statistics
Auto Trait Implementations§
impl<S> Freeze for FeedProcessor<S>where
S: Freeze,
impl<S> RefUnwindSafe for FeedProcessor<S>where
S: RefUnwindSafe,
impl<S> Send for FeedProcessor<S>where
S: Send,
impl<S> Sync for FeedProcessor<S>where
S: Sync,
impl<S> Unpin for FeedProcessor<S>where
S: Unpin,
impl<S> UnwindSafe for FeedProcessor<S>where
S: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more