Add name prop
This commit is contained in:
parent
86dbd2eaed
commit
f5e0c53f3c
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue