Allow arguments to be specified in toml file (closes #10)
This commit is contained in:
parent
2a95f11d30
commit
ab58196ee5
6 changed files with 167 additions and 61 deletions
|
|
@ -49,6 +49,12 @@ impl From<rtp::Error> for Error {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<toml::de::Error> for Error {
|
||||
fn from(e: toml::de::Error) -> Self {
|
||||
Error::Misc(Box::new(e))
|
||||
}
|
||||
}
|
||||
|
||||
impl From<()> for Error {
|
||||
fn from(_: ()) -> Self {
|
||||
panic!();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue