Add name prop

This commit is contained in:
Aode (Lion) 2022-02-06 15:17:38 -06:00
parent 86dbd2eaed
commit f5e0c53f3c

View file

@ -24,6 +24,10 @@ pub async fn identity(port: &mut SerialStream) -> Result<Vec<u8>, Error> {
get_prop(port, b"ident").await
}
pub async fn name(port: &mut SerialStream) -> Result<String, Error> {
get_string_prop(port, b"name").await
}
pub async fn author(port: &mut SerialStream) -> Result<String, Error> {
get_string_prop(port, b"author").await
}