1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-06-27 16:35:59 +00:00
conduit/src/service/globals/data.rs

9 lines
176 B
Rust
Raw Normal View History

2022-09-07 13:25:51 +02:00
use ruma::signatures::Ed25519KeyPair;
use crate::Result;
pub trait Data {
fn load_keypair(&self) -> Result<Ed25519KeyPair>;
fn remove_keypair(&self) -> Result<()>;
}