Trait lrs::group::GroupInfo

Trait for types that hold group info.

Syntax

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
}

Associated types

NameDescription
Iterator

Methods

ReceiverNameDescription
&selfid

Returns the id of the group.

&selfmembers

Returns an iterator over the members of the group.

&selfname

Returns the name of the group.

&selfpassword

Returns the password of the group.