Add endpoint::get_name() and an enumerate example
This commit is contained in:
parent
8f11173256
commit
ec48453b6f
5 changed files with 23 additions and 1 deletions
|
|
@ -33,6 +33,11 @@ impl Endpoint {
|
|||
|
||||
Ok(Some(format).into_iter())
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn get_name(&self) -> String {
|
||||
"unknown".to_owned() // TODO:
|
||||
}
|
||||
}
|
||||
|
||||
pub struct Voice {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue