forked from ryzokuken/cosmoline
cosmetics: do not swap what ought not to be swapped
This commit is contained in:
parent
9f2dac0d35
commit
1b2333922f
|
@ -10,8 +10,8 @@ use async_trait::async_trait;
|
||||||
|
|
||||||
#[async_trait]
|
#[async_trait]
|
||||||
pub trait SSBKeypair {
|
pub trait SSBKeypair {
|
||||||
fn from_json(obj: JsonValue) -> Self;
|
|
||||||
fn to_json(&self) -> JsonValue;
|
fn to_json(&self) -> JsonValue;
|
||||||
|
fn from_json(obj: JsonValue) -> Self;
|
||||||
async fn read_or_generate(path: PathBuf) -> Self;
|
async fn read_or_generate(path: PathBuf) -> Self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue