pub struct FetchProcess<'a> { /* private fields */ }
Expand description
Process to fetch new commands
This process will provide no UI, it will perform the job on peek
Implementations§
Source§impl<'a> FetchProcess<'a>
impl<'a> FetchProcess<'a>
pub fn new(category: Option<String>, storage: &'a SqliteStorage) -> Self
Trait Implementations§
Source§impl<'a> Process for FetchProcess<'a>
impl<'a> Process for FetchProcess<'a>
Source§fn min_height(&self) -> usize
fn min_height(&self) -> usize
Minimum height needed to render the process
Source§fn render<B: Backend>(&mut self, _frame: &mut Frame<'_, B>, _area: Rect)
fn render<B: Backend>(&mut self, _frame: &mut Frame<'_, B>, _area: Rect)
Render
self
in the given area from the frameSource§fn process_raw_event(&mut self, _event: Event) -> Result<Option<ProcessOutput>>
fn process_raw_event(&mut self, _event: Event) -> Result<Option<ProcessOutput>>
Auto Trait Implementations§
impl<'a> Freeze for FetchProcess<'a>
impl<'a> RefUnwindSafe for FetchProcess<'a>
impl<'a> Send for FetchProcess<'a>
impl<'a> Sync for FetchProcess<'a>
impl<'a> Unpin for FetchProcess<'a>
impl<'a> UnwindSafe for FetchProcess<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more