- use tokio instead of os threads
- buffer writes - also write in parallel
This commit is contained in:
@@ -6,8 +6,14 @@ pub enum Error {
|
||||
IO(#[from] std::io::Error),
|
||||
#[error(transparent)]
|
||||
ColorCet(#[from] colorcet::ColorcetError),
|
||||
#[error(transparent)]
|
||||
Tokio(#[from] tokio::task::JoinError),
|
||||
#[error("could not parse color: {0}")]
|
||||
ColorParse(String),
|
||||
#[error("could not covert ColorMap into LinearGradient")]
|
||||
Conversion,
|
||||
#[error("mutex was poisoned, this is a bug, please report it!")]
|
||||
MutexPoisoned,
|
||||
#[error("cannot express {0} as Rational32")]
|
||||
Rational(f64),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user