[−][src]Enum rustofi::RustofiResult
enum declaring all possible return values from a rofi window constructed
using this library. Callbacks should also generally return this type, specifying
Success
, Error
, Exit
or Cancel
in most cases
Variants
Selection(String)
A standard item
Action(String)
An action item
The operation completed successfully
The blank entry was selected. Note this entry isn't actually blank but a single space
Something went wrong creating the rofi window or in the callback
ItemList
or ActionList
was cancelled, used to return to a main menu
Used internally when the automatically added [exit]
entry is selected
Auto Trait Implementations
impl Send for RustofiResult
impl Sync for RustofiResult
impl Unpin for RustofiResult
impl UnwindSafe for RustofiResult
impl RefUnwindSafe for RustofiResult
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,