pub enum Command {
Show 39 variants
Quit,
ResizeTerminal {
columns: u16,
rows: u16,
},
RenderThrobber,
Idle,
Authenticate,
MoveAuthenticationProvider(Direction),
DeviceAuthorizationFlow {
provider: AuthenticationProvider,
device_authorization: DeviceAuthorizationResponse,
},
CompleteDevieAuthorizationFlow {
provider: AuthenticationProvider,
device_access_token: DeviceAccessTokenResponse,
},
MoveTabSelection(Direction),
MoveSubscribedFeed(Direction),
MoveSubscribedFeedFirst,
MoveSubscribedFeedLast,
PromptFeedSubscription,
PromptFeedEdition,
PromptFeedUnsubscription,
SubscribeFeed {
input: SubscribeFeedInput,
},
UnsubscribeFeed {
url: FeedUrl,
},
CompleteSubscribeFeed {
feed: Feed,
request_seq: RequestSequence,
},
CompleteUnsubscribeFeed {
url: FeedUrl,
request_seq: RequestSequence,
},
FetchSubscription {
after: Option<String>,
first: i64,
},
UpdateSubscriptionState {
action: ListAction,
subscription: SubscriptionOutput,
request_seq: RequestSequence,
},
ReloadSubscription,
OpenFeed,
FetchEntries {
after: Option<String>,
first: i64,
},
UpdateEntriesState {
action: ListAction,
payload: FetchEntriesPayload,
request_seq: RequestSequence,
},
ReloadEntries,
MoveEntry(Direction),
MoveEntryFirst,
MoveEntryLast,
OpenEntry,
MoveFilterRequirement(Direction),
ActivateCategoryFilterling,
ActivateSearchFiltering,
PromptChanged,
DeactivateFiltering,
ToggleFilterCategory {
category: Category<'static>,
},
ActivateAllFilterCategories,
DeactivateAllFilterCategories,
HandleError {
message: String,
request_seq: Option<RequestSequence>,
},
}Variants§
Quit
ResizeTerminal
RenderThrobber
Idle
Authenticate
MoveAuthenticationProvider(Direction)
DeviceAuthorizationFlow
CompleteDevieAuthorizationFlow
MoveTabSelection(Direction)
MoveSubscribedFeed(Direction)
MoveSubscribedFeedFirst
MoveSubscribedFeedLast
PromptFeedSubscription
PromptFeedEdition
PromptFeedUnsubscription
SubscribeFeed
Fields
§
input: SubscribeFeedInputUnsubscribeFeed
CompleteSubscribeFeed
CompleteUnsubscribeFeed
FetchSubscription
UpdateSubscriptionState
ReloadSubscription
OpenFeed
FetchEntries
UpdateEntriesState
ReloadEntries
MoveEntry(Direction)
MoveEntryFirst
MoveEntryLast
OpenEntry
MoveFilterRequirement(Direction)
ActivateCategoryFilterling
ActivateSearchFiltering
PromptChanged
DeactivateFiltering
ToggleFilterCategory
ActivateAllFilterCategories
DeactivateAllFilterCategories
HandleError
Implementations§
source§impl Command
impl Command
pub fn quit() -> Self
pub fn authenticate() -> Self
pub fn move_right_tab_selection() -> Self
pub fn move_left_tab_selection() -> Self
pub fn move_up_authentication_provider() -> Self
pub fn move_down_authentication_provider() -> Self
pub fn move_up_entry() -> Self
pub fn move_down_entry() -> Self
pub fn reload_entries() -> Self
pub fn open_entry() -> Self
pub fn move_entry_first() -> Self
pub fn move_entry_last() -> Self
pub fn prompt_feed_subscription() -> Self
pub fn prompt_feed_edition() -> Self
pub fn prompt_feed_unsubscription() -> Self
pub fn move_up_subscribed_feed() -> Self
pub fn move_down_subscribed_feed() -> Self
pub fn reload_subscription() -> Self
pub fn open_feed() -> Self
pub fn move_subscribed_feed_first() -> Self
pub fn move_subscribed_feed_last() -> Self
pub fn move_filter_requirement_left() -> Self
pub fn move_filter_requirement_right() -> Self
pub fn activate_category_filtering() -> Self
pub fn activate_search_filtering() -> Self
pub fn deactivate_filtering() -> Self
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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> FutureExt for T
impl<T> FutureExt for T
source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Requestsource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ToCompactString for Twhere
T: Display,
impl<T> ToCompactString for Twhere
T: Display,
source§fn to_compact_string(&self) -> CompactString
fn to_compact_string(&self) -> CompactString
Converts the given value to a
CompactString. Read more