pub type ServiceResult<T> = Result<T, ServiceError>;
Aliased Type§
enum ServiceResult<T> {
Ok(T),
Err(ServiceError),
}
Variants§
Trait Implementations§
Source§impl From<CommandResult> for ServiceResult<()>
impl From<CommandResult> for ServiceResult<()>
Source§fn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
Source§impl From<CommandResult> for ServiceResult<Option<ClipboardProviding>>
impl From<CommandResult> for ServiceResult<Option<ClipboardProviding>>
Source§fn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
Source§impl From<CommandResult> for ServiceResult<Option<String>>
impl From<CommandResult> for ServiceResult<Option<String>>
Source§fn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
Source§impl From<CommandResult> for ServiceResult<String>
impl From<CommandResult> for ServiceResult<String>
Source§fn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
Source§impl From<CommandResult> for ServiceResult<Vec<Event>>
impl From<CommandResult> for ServiceResult<Vec<Event>>
Source§fn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
Source§impl From<CommandResult> for ServiceResult<Vec<StoreConfig>>
impl From<CommandResult> for ServiceResult<Vec<StoreConfig>>
Source§fn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.
Source§impl From<CommandResult> for ServiceResult<bool>
impl From<CommandResult> for ServiceResult<bool>
Source§fn from(result: CommandResult) -> Self
fn from(result: CommandResult) -> Self
Converts to this type from the input type.