pub enum ViteTextError {
Empty,
}Expand description
Error returned when Vite text metadata is empty.
Variants§
Empty
Trait Implementations§
Source§impl Clone for ViteTextError
impl Clone for ViteTextError
Source§fn clone(&self) -> ViteTextError
fn clone(&self) -> ViteTextError
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 moreSource§impl Debug for ViteTextError
impl Debug for ViteTextError
Source§impl Display for ViteTextError
impl Display for ViteTextError
Source§impl Error for ViteTextError
impl Error for ViteTextError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for ViteTextError
impl PartialEq for ViteTextError
Source§fn eq(&self, other: &ViteTextError) -> bool
fn eq(&self, other: &ViteTextError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ViteTextError
impl Eq for ViteTextError
impl StructuralPartialEq for ViteTextError
Auto Trait Implementations§
impl Freeze for ViteTextError
impl RefUnwindSafe for ViteTextError
impl Send for ViteTextError
impl Sync for ViteTextError
impl Unpin for ViteTextError
impl UnsafeUnpin for ViteTextError
impl UnwindSafe for ViteTextError
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