pub struct ShenYuError {
pub code: i32,
pub message: String,
}Expand description
Shenyu Error.
Fields§
§code: i32The error code.
message: StringThe error message.
Implementations§
Trait Implementations§
Source§impl Debug for ShenYuError
impl Debug for ShenYuError
Source§impl From<ShenYuError> for Error
impl From<ShenYuError> for Error
Source§fn from(val: ShenYuError) -> Self
fn from(val: ShenYuError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ShenYuError
impl RefUnwindSafe for ShenYuError
impl Send for ShenYuError
impl Sync for ShenYuError
impl Unpin for ShenYuError
impl UnwindSafe for ShenYuError
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