pub enum Error<Le, De, Ce> {
Layer(Le),
DataDistr(De),
Collection(Ce),
}
Variants§
Trait Implementations§
Source§impl<Le, De, Ce> Error for Error<Le, De, Ce>
impl<Le, De, Ce> Error for Error<Le, De, Ce>
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 From<Error<AccessError, Infallible, Infallible>> for Error
impl From<Error<AccessError, Infallible, Infallible>> for Error
Source§fn from(source: Error<BiomeLayerError, Infallible, Infallible>) -> Self
fn from(source: Error<BiomeLayerError, Infallible, Infallible>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<Le, De, Ce> Freeze for Error<Le, De, Ce>
impl<Le, De, Ce> RefUnwindSafe for Error<Le, De, Ce>
impl<Le, De, Ce> Send for Error<Le, De, Ce>
impl<Le, De, Ce> Sync for Error<Le, De, Ce>
impl<Le, De, Ce> Unpin for Error<Le, De, Ce>
impl<Le, De, Ce> UnwindSafe for Error<Le, De, Ce>
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