Enum yggdrasil_rt::errors::YggdrasilErrorSource
source · pub enum YggdrasilErrorSource {
Missing,
Text(String),
Local(String),
Remote(String),
}
Variants§
Missing
Unknown source
Text(String)
Source from text
Local(String)
Local path buffer, note path is not core type
Remote(String)
A url path pointer to remote resource
Implementations§
Trait Implementations§
source§impl Clone for YggdrasilErrorSource
impl Clone for YggdrasilErrorSource
source§fn clone(&self) -> YggdrasilErrorSource
fn clone(&self) -> YggdrasilErrorSource
Returns a copy 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 YggdrasilErrorSource
impl Debug for YggdrasilErrorSource
source§impl Default for YggdrasilErrorSource
impl Default for YggdrasilErrorSource
source§impl Hash for YggdrasilErrorSource
impl Hash for YggdrasilErrorSource
source§impl PartialEq for YggdrasilErrorSource
impl PartialEq for YggdrasilErrorSource
source§fn eq(&self, other: &YggdrasilErrorSource) -> bool
fn eq(&self, other: &YggdrasilErrorSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for YggdrasilErrorSource
impl StructuralPartialEq for YggdrasilErrorSource
Auto Trait Implementations§
impl Freeze for YggdrasilErrorSource
impl RefUnwindSafe for YggdrasilErrorSource
impl Send for YggdrasilErrorSource
impl Sync for YggdrasilErrorSource
impl Unpin for YggdrasilErrorSource
impl UnwindSafe for YggdrasilErrorSource
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