Skip to main content

UvsFrom

Trait UvsFrom 

Source
pub trait UvsFrom: From<UvsReason> + Sized {
Show 14 methods // Provided methods fn from_conf() -> Self { ... } fn from_conf_reason(reason: ConfErrReason) -> Self { ... } fn from_data() -> Self { ... } fn from_sys() -> Self { ... } fn from_biz() -> Self { ... } fn from_logic() -> Self { ... } fn from_rule() -> Self { ... } fn from_res() -> Self { ... } fn from_net() -> Self { ... } fn from_timeout() -> Self { ... } fn from_validation() -> Self { ... } fn from_not_found() -> Self { ... } fn from_permission() -> Self { ... } fn from_external() -> Self { ... }
}
Expand description

Unified constructor helpers for types that can be converted from UvsReason.

Provided Methods§

Source

fn from_conf() -> Self

Source

fn from_conf_reason(reason: ConfErrReason) -> Self

Source

fn from_data() -> Self

Source

fn from_sys() -> Self

Source

fn from_biz() -> Self

Source

fn from_logic() -> Self

Source

fn from_rule() -> Self

Source

fn from_res() -> Self

Source

fn from_net() -> Self

Source

fn from_timeout() -> Self

Source

fn from_validation() -> Self

Source

fn from_not_found() -> Self

Source

fn from_permission() -> Self

Source

fn from_external() -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T> UvsFrom for T
where T: From<UvsReason>,