pub enum WparseReason {
Plugin(String),
NotMatch,
LineProc(String),
Uvs(UnifiedReason),
}Variants§
Implementations§
Source§impl WparseReason
impl WparseReason
pub fn core_conf() -> WparseReason
pub fn feature_conf() -> WparseReason
pub fn dynamic_conf() -> WparseReason
pub fn validation_error() -> WparseReason
pub fn business_error() -> WparseReason
pub fn rule_error() -> WparseReason
pub fn not_found_error() -> WparseReason
pub fn permission_error() -> WparseReason
pub fn data_error() -> WparseReason
pub fn system_error() -> WparseReason
pub fn network_error() -> WparseReason
pub fn resource_error() -> WparseReason
pub fn timeout_error() -> WparseReason
pub fn external_error() -> WparseReason
pub fn logic_error() -> WparseReason
Trait Implementations§
Source§impl Clone for WparseReason
impl Clone for WparseReason
Source§fn clone(&self) -> WparseReason
fn clone(&self) -> WparseReason
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 Debug for WparseReason
impl Debug for WparseReason
Source§impl Display for WparseReason
impl Display for WparseReason
Source§impl ErrorCode for WparseReason
impl ErrorCode for WparseReason
fn error_code(&self) -> i32
Source§impl ErrorIdentityProvider for WparseReason
impl ErrorIdentityProvider for WparseReason
fn stable_code(&self) -> &'static str
fn error_category(&self) -> ErrorCategory
Source§impl From<String> for WparseReason
impl From<String> for WparseReason
Source§fn from(value: String) -> WparseReason
fn from(value: String) -> WparseReason
Converts to this type from the input type.
Source§impl From<UnifiedReason> for WparseReason
impl From<UnifiedReason> for WparseReason
Source§fn from(value: UnifiedReason) -> WparseReason
fn from(value: UnifiedReason) -> WparseReason
Converts to this type from the input type.
Source§impl PartialEq for WparseReason
impl PartialEq for WparseReason
Source§impl Serialize for WparseReason
impl Serialize for WparseReason
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl DomainReason for WparseReason
impl StructuralPartialEq for WparseReason
Auto Trait Implementations§
impl Freeze for WparseReason
impl RefUnwindSafe for WparseReason
impl Send for WparseReason
impl Sync for WparseReason
impl Unpin for WparseReason
impl UnsafeUnpin for WparseReason
impl UnwindSafe for WparseReason
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