pub struct Group {}
Expand description
Group module function handling
Implementations
sourceimpl Group
impl Group
sourcepub fn cli(command: &str)
pub fn cli(command: &str)
CLI command interpretation
The CLI commands of group module are processed here
sourcefn id_string_to_bin(id: String) -> Result<Vec<u8>, String>
fn id_string_to_bin(id: String) -> Result<Vec<u8>, String>
Convert Group ID from String to Binary
sourcefn uuid_string_to_bin(id_str: String) -> Result<Vec<u8>, String>
fn uuid_string_to_bin(id_str: String) -> Result<Vec<u8>, String>
Convert Group ID from String to Binary
sourcefn create_group(group_name: String)
fn create_group(group_name: String)
create group
sourcefn rename_group(group_id: Vec<u8>, group_name: String)
fn rename_group(group_id: Vec<u8>, group_name: String)
rename group
sourcefn group_info(group_id: Vec<u8>)
fn group_info(group_id: Vec<u8>)
group info
sourcefn group_list()
fn group_list()
group list
sourcefn group_invited()
fn group_invited()
group invited
sourcefn reply_invite(group_id: Vec<u8>, accept: bool)
fn reply_invite(group_id: Vec<u8>, accept: bool)
reply invite
sourcefn print_last_message(data: Vec<u8>)
fn print_last_message(data: Vec<u8>)
Process the last message & print it’s content
Auto Trait Implementations
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more