2023-06-15 07:10:20 -05:00
|
|
|
|
2023-06-23 22:16:35 -05:00
|
|
|
/*
|
2023-06-15 07:10:20 -05:00
|
|
|
trait Registry {
|
|
|
|
fn register(message: Credentials) -> RegisterStatus;
|
|
|
|
fn my_username() -> String;
|
|
|
|
fn tell_back(message: String) -> Result<String, TellBackError>;
|
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(ValidatorStringBounds<[u8; 8]>)]
|
|
|
|
struct Credentials {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
struct RegisterStatus {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
struct TellBackError {
|
|
|
|
|
|
|
|
}
|
2023-06-23 22:16:35 -05:00
|
|
|
*/
|
|
|
|
|
|
|
|
fn main() { todo!() }
|
2023-06-15 07:10:20 -05:00
|
|
|
|