pub enum ConfReason<T: Clone + PartialEq + Debug + Send + Sync + 'static> {
Syntax(String),
NotFound(String),
Uvs(UnifiedReason),
_Take(PhantomData<T>),
}Variants§
Implementations§
Source§impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> ConfReason<T>
impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> ConfReason<T>
pub fn core_conf() -> Self
pub fn feature_conf() -> Self
pub fn dynamic_conf() -> Self
pub fn validation_error() -> Self
pub fn business_error() -> Self
pub fn rule_error() -> Self
pub fn not_found_error() -> Self
pub fn permission_error() -> Self
pub fn data_error() -> Self
pub fn system_error() -> Self
pub fn network_error() -> Self
pub fn resource_error() -> Self
pub fn timeout_error() -> Self
pub fn external_error() -> Self
pub fn logic_error() -> Self
Trait Implementations§
Source§impl<T: Clone + Clone + PartialEq + Debug + Send + Sync + 'static> Clone for ConfReason<T>
impl<T: Clone + Clone + PartialEq + Debug + Send + Sync + 'static> Clone for ConfReason<T>
Source§fn clone(&self) -> ConfReason<T>
fn clone(&self) -> ConfReason<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> ErrorCode for ConfReason<T>
impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> ErrorCode for ConfReason<T>
fn error_code(&self) -> i32
Source§impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> ErrorIdentityProvider for ConfReason<T>
impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> ErrorIdentityProvider for ConfReason<T>
fn stable_code(&self) -> &'static str
fn error_category(&self) -> ErrorCategory
Source§impl From<ConfReason<ConfCore>> for ConfReason<ConfDynamic>
impl From<ConfReason<ConfCore>> for ConfReason<ConfDynamic>
Source§fn from(value: ConfReason<ConfCore>) -> Self
fn from(value: ConfReason<ConfCore>) -> Self
Converts to this type from the input type.
Source§impl From<ConfReason<ConfCore>> for ConfReason<ConfFeature>
impl From<ConfReason<ConfCore>> for ConfReason<ConfFeature>
Source§fn from(value: ConfReason<ConfCore>) -> Self
fn from(value: ConfReason<ConfCore>) -> Self
Converts to this type from the input type.
Source§impl From<ConfReason<ConfCore>> for RunReason
impl From<ConfReason<ConfCore>> for RunReason
Source§fn from(_: ConfReason<ConfCore>) -> Self
fn from(_: ConfReason<ConfCore>) -> Self
Converts to this type from the input type.
Source§impl From<ConfReason<ConfCore>> for UnifiedReason
impl From<ConfReason<ConfCore>> for UnifiedReason
Source§fn from(_: ConfReason<ConfCore>) -> Self
fn from(_: ConfReason<ConfCore>) -> Self
Converts to this type from the input type.
Source§impl From<ConfReason<ConfDynamic>> for UnifiedReason
impl From<ConfReason<ConfDynamic>> for UnifiedReason
Source§fn from(_: ConfReason<ConfDynamic>) -> Self
fn from(_: ConfReason<ConfDynamic>) -> Self
Converts to this type from the input type.
Source§impl From<ConfReason<ConfFeature>> for UnifiedReason
impl From<ConfReason<ConfFeature>> for UnifiedReason
Source§fn from(_: ConfReason<ConfFeature>) -> Self
fn from(_: ConfReason<ConfFeature>) -> Self
Converts to this type from the input type.
Source§impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> From<PhantomData<T>> for ConfReason<T>
impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> From<PhantomData<T>> for ConfReason<T>
Source§fn from(value: PhantomData<T>) -> Self
fn from(value: PhantomData<T>) -> Self
Converts to this type from the input type.
Source§impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> From<UnifiedReason> for ConfReason<T>
impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> From<UnifiedReason> for ConfReason<T>
Source§fn from(value: UnifiedReason) -> Self
fn from(value: UnifiedReason) -> Self
Converts to this type from the input type.
Source§impl<T: PartialEq + Clone + PartialEq + Debug + Send + Sync + 'static> PartialEq for ConfReason<T>
impl<T: PartialEq + Clone + PartialEq + Debug + Send + Sync + 'static> PartialEq for ConfReason<T>
Source§impl SysErrorCode for ConfReason<ConfCore>
impl SysErrorCode for ConfReason<ConfCore>
Source§impl SysErrorCode for ConfReason<ConfDynamic>
impl SysErrorCode for ConfReason<ConfDynamic>
Source§impl SysErrorCode for ConfReason<ConfFeature>
impl SysErrorCode for ConfReason<ConfFeature>
impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> DomainReason for ConfReason<T>
impl<T: Clone + PartialEq + Debug + Send + Sync + 'static> StructuralPartialEq for ConfReason<T>
Auto Trait Implementations§
impl<T> Freeze for ConfReason<T>
impl<T> RefUnwindSafe for ConfReason<T>where
T: RefUnwindSafe,
impl<T> Send for ConfReason<T>
impl<T> Sync for ConfReason<T>
impl<T> Unpin for ConfReason<T>where
T: Unpin,
impl<T> UnsafeUnpin for ConfReason<T>
impl<T> UnwindSafe for ConfReason<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more