Trait for types that hold group info.
trait GroupInfo<'a>
where <<Self as GroupInfo<'a>>::Iterator as Iterator>::Item = &'a ByteStr,
{
type Iterator: Iterator;
/* Required methods */
fn id(&self) -> u32
fn members(&'a self) -> <Self as GroupInfo<'a>>::Iterator
fn name(&self) -> &ByteStr
fn password(&self) -> &ByteStr
}| Name | Description |
|---|---|
| Iterator |
| Receiver | Name | Description |
|---|---|---|
&self | id | Returns the id of the group. |
&self | members | Returns an iterator over the members of the group. |
&self | name | Returns the name of the group. |
&self | password | Returns the password of the group. |