Type Alias t_rust_less_lib::service::ServiceResult

source ·
pub type ServiceResult<T> = Result<T, ServiceError>;

Aliased Type§

enum ServiceResult<T> {
    Ok(T),
    Err(ServiceError),
}

Variants§

§1.0.0

Ok(T)

Contains the success value

§1.0.0

Err(ServiceError)

Contains the error value

Trait Implementations§

source§

impl From<CommandResult> for ServiceResult<()>

source§

fn from(result: CommandResult) -> Self

Converts to this type from the input type.
source§

impl From<CommandResult> for ServiceResult<Option<ClipboardProviding>>

source§

fn from(result: CommandResult) -> Self

Converts to this type from the input type.
source§

impl From<CommandResult> for ServiceResult<Option<String>>

source§

fn from(result: CommandResult) -> Self

Converts to this type from the input type.
source§

impl From<CommandResult> for ServiceResult<String>

source§

fn from(result: CommandResult) -> Self

Converts to this type from the input type.
source§

impl From<CommandResult> for ServiceResult<Vec<Event>>

source§

fn from(result: CommandResult) -> Self

Converts to this type from the input type.
source§

impl From<CommandResult> for ServiceResult<Vec<StoreConfig>>

source§

fn from(result: CommandResult) -> Self

Converts to this type from the input type.
source§

impl From<CommandResult> for ServiceResult<bool>

source§

fn from(result: CommandResult) -> Self

Converts to this type from the input type.