Enum t_rust_less_lib::api::CommandResult
source · [−]pub enum CommandResult {
Show 13 variants
Void,
Bool(bool),
String(String),
Configs(Vec<StoreConfig>),
Events(Vec<Event>),
Status(Status),
SecretList(SecretList),
Identities(Vec<Identity>),
Secret(Secret),
SecretVersion(SecretVersion),
ClipboardProviding(ClipboardProviding),
SecretStoreError(SecretStoreError),
ServiceError(ServiceError),
}
Variants
Void
Bool(bool)
String(String)
Configs(Vec<StoreConfig>)
Events(Vec<Event>)
Status(Status)
SecretList(SecretList)
Identities(Vec<Identity>)
Secret(Secret)
SecretVersion(SecretVersion)
ClipboardProviding(ClipboardProviding)
SecretStoreError(SecretStoreError)
ServiceError(ServiceError)
Trait Implementations
sourceimpl Debug for CommandResult
impl Debug for CommandResult
sourceimpl<'de> Deserialize<'de> for CommandResult
impl<'de> Deserialize<'de> for CommandResult
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Drop for CommandResult
impl Drop for CommandResult
sourceimpl From<CommandResult> for SecretStoreResult<()>
impl From<CommandResult> for SecretStoreResult<()>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for SecretStoreResult<Secret>
impl From<CommandResult> for SecretStoreResult<Secret>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for SecretStoreResult<SecretList>
impl From<CommandResult> for SecretStoreResult<SecretList>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for SecretStoreResult<SecretVersion>
impl From<CommandResult> for SecretStoreResult<SecretVersion>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for SecretStoreResult<Status>
impl From<CommandResult> for SecretStoreResult<Status>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for SecretStoreResult<String>
impl From<CommandResult> for SecretStoreResult<String>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for SecretStoreResult<Vec<Identity>>
impl From<CommandResult> for SecretStoreResult<Vec<Identity>>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for ServiceResult<()>
impl From<CommandResult> for ServiceResult<()>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for ServiceResult<Option<ClipboardProviding>>
impl From<CommandResult> for ServiceResult<Option<ClipboardProviding>>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for ServiceResult<Option<String>>
impl From<CommandResult> for ServiceResult<Option<String>>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for ServiceResult<String>
impl From<CommandResult> for ServiceResult<String>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for ServiceResult<Vec<Event>>
impl From<CommandResult> for ServiceResult<Vec<Event>>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for ServiceResult<Vec<StoreConfig>>
impl From<CommandResult> for ServiceResult<Vec<StoreConfig>>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<CommandResult> for ServiceResult<bool>
impl From<CommandResult> for ServiceResult<bool>
sourcefn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
sourceimpl From<Result<(), SecretStoreError>> for CommandResult
impl From<Result<(), SecretStoreError>> for CommandResult
sourcefn from(result: SecretStoreResult<()>) -> Self
fn from(result: SecretStoreResult<()>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<(), ServiceError>> for CommandResult
impl From<Result<(), ServiceError>> for CommandResult
sourcefn from(result: ServiceResult<()>) -> Self
fn from(result: ServiceResult<()>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<Option<ClipboardProviding>, ServiceError>> for CommandResult
impl From<Result<Option<ClipboardProviding>, ServiceError>> for CommandResult
sourcefn from(result: ServiceResult<Option<ClipboardProviding>>) -> Self
fn from(result: ServiceResult<Option<ClipboardProviding>>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<Option<String>, ServiceError>> for CommandResult
impl From<Result<Option<String>, ServiceError>> for CommandResult
sourcefn from(result: ServiceResult<Option<String>>) -> Self
fn from(result: ServiceResult<Option<String>>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<Secret, SecretStoreError>> for CommandResult
impl From<Result<Secret, SecretStoreError>> for CommandResult
sourcefn from(result: SecretStoreResult<Secret>) -> Self
fn from(result: SecretStoreResult<Secret>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<SecretList, SecretStoreError>> for CommandResult
impl From<Result<SecretList, SecretStoreError>> for CommandResult
sourcefn from(result: SecretStoreResult<SecretList>) -> Self
fn from(result: SecretStoreResult<SecretList>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<SecretVersion, SecretStoreError>> for CommandResult
impl From<Result<SecretVersion, SecretStoreError>> for CommandResult
sourcefn from(result: SecretStoreResult<SecretVersion>) -> Self
fn from(result: SecretStoreResult<SecretVersion>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<Status, SecretStoreError>> for CommandResult
impl From<Result<Status, SecretStoreError>> for CommandResult
sourcefn from(result: SecretStoreResult<Status>) -> Self
fn from(result: SecretStoreResult<Status>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<String, SecretStoreError>> for CommandResult
impl From<Result<String, SecretStoreError>> for CommandResult
sourcefn from(result: SecretStoreResult<String>) -> Self
fn from(result: SecretStoreResult<String>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<String, ServiceError>> for CommandResult
impl From<Result<String, ServiceError>> for CommandResult
sourcefn from(result: ServiceResult<String>) -> Self
fn from(result: ServiceResult<String>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<Vec<Event, Global>, ServiceError>> for CommandResult
impl From<Result<Vec<Event, Global>, ServiceError>> for CommandResult
sourcefn from(result: ServiceResult<Vec<Event>>) -> Self
fn from(result: ServiceResult<Vec<Event>>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<Vec<Identity, Global>, SecretStoreError>> for CommandResult
impl From<Result<Vec<Identity, Global>, SecretStoreError>> for CommandResult
sourcefn from(result: SecretStoreResult<Vec<Identity>>) -> Self
fn from(result: SecretStoreResult<Vec<Identity>>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<Vec<StoreConfig, Global>, ServiceError>> for CommandResult
impl From<Result<Vec<StoreConfig, Global>, ServiceError>> for CommandResult
sourcefn from(result: ServiceResult<Vec<StoreConfig>>) -> Self
fn from(result: ServiceResult<Vec<StoreConfig>>) -> Self
Converts to this type from the input type.
sourceimpl From<Result<bool, ServiceError>> for CommandResult
impl From<Result<bool, ServiceError>> for CommandResult
sourcefn from(result: ServiceResult<bool>) -> Self
fn from(result: ServiceResult<bool>) -> Self
Converts to this type from the input type.
sourceimpl Serialize for CommandResult
impl Serialize for CommandResult
Auto Trait Implementations
impl RefUnwindSafe for CommandResult
impl Send for CommandResult
impl Sync for CommandResult
impl Unpin for CommandResult
impl UnwindSafe for CommandResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read morefn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read morefn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read morefn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more