pub enum RivetErrorKind {
Static(&'static RivetErrorSchema),
Dynamic {
group: String,
code: String,
default_message: String,
},
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RivetErrorKind
impl Clone for RivetErrorKind
Source§fn clone(&self) -> RivetErrorKind
fn clone(&self) -> RivetErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RivetErrorKind
impl RefUnwindSafe for RivetErrorKind
impl Send for RivetErrorKind
impl Sync for RivetErrorKind
impl Unpin for RivetErrorKind
impl UnsafeUnpin for RivetErrorKind
impl UnwindSafe for RivetErrorKind
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