pub struct ChatFile {}
Expand description
Chat file module function handling
Implementations
sourceimpl ChatFile
impl ChatFile
sourcepub fn cli(command: &str)
pub fn cli(command: &str)
CLI command interpretation
The CLI commands of the chat file 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 send_file_history_command(offset: u32, limit: u32)
fn send_file_history_command(offset: u32, limit: u32)
send file history list command via rpc
Auto Trait Implementations
impl RefUnwindSafe for ChatFile
impl Send for ChatFile
impl Sync for ChatFile
impl Unpin for ChatFile
impl UnwindSafe for ChatFile
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