pub enum Command {
Show 30 variants
Quit,
ResizeTerminal {
columns: u16,
rows: u16,
},
RenderThrobber,
Idle,
Authenticate(AuthenticationProvider),
MoveAuthenticationProvider(Direction),
DeviceAuthorizationFlow {
provider: AuthenticationProvider,
device_authorization: DeviceAuthorizationResponse,
},
CompleteDevieAuthorizationFlow {
provider: AuthenticationProvider,
device_access_token: DeviceAccessTokenResponse,
},
MoveTabSelection(Direction),
MoveSubscribedFeed(Direction),
MoveSubscribedFeedFirst,
MoveSubscribedFeedLast,
PromptFeedSubscription,
PromptFeedUnsubscription,
SubscribeFeed {
url: String,
},
UnsubscribeFeed {
url: String,
},
CompleteSubscribeFeed {
feed: Feed,
request_seq: RequestSequence,
},
CompleteUnsubscribeFeed {
url: String,
request_seq: RequestSequence,
},
FetchSubscription {
after: Option<String>,
first: i64,
},
UpdateSubscription {
action: ListAction,
subscription: SubscriptionOutput,
request_seq: RequestSequence,
},
ReloadSubscription,
OpenFeed,
FetchEntries {
after: Option<String>,
first: i64,
},
UpdateEntries {
action: ListAction,
payload: FetchEntriesPayload,
request_seq: RequestSequence,
},
ReloadEntries,
MoveEntry(Direction),
MoveEntryFirst,
MoveEntryLast,
OpenEntry,
HandleError {
message: String,
request_seq: Option<RequestSequence>,
},
}Variants§
Quit
ResizeTerminal
RenderThrobber
Idle
Authenticate(AuthenticationProvider)
MoveAuthenticationProvider(Direction)
DeviceAuthorizationFlow
CompleteDevieAuthorizationFlow
MoveTabSelection(Direction)
MoveSubscribedFeed(Direction)
MoveSubscribedFeedFirst
MoveSubscribedFeedLast
PromptFeedSubscription
PromptFeedUnsubscription
SubscribeFeed
UnsubscribeFeed
CompleteSubscribeFeed
CompleteUnsubscribeFeed
FetchSubscription
UpdateSubscription
ReloadSubscription
OpenFeed
FetchEntries
UpdateEntries
ReloadEntries
MoveEntry(Direction)
MoveEntryFirst
MoveEntryLast
OpenEntry
HandleError
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