#[repr(C)]pub struct Client { /* private fields */ }
Implementations
sourceimpl Client
impl Client
pub fn chat_tell(&mut self, remote_id: NodeId, text: String) -> Result<(), Error>
pub fn chat_recv(&mut self, from_remote_id: NodeId) -> Result<String, Error>
pub fn upload(
&mut self,
remote_id: NodeId,
container_id: ContainerId,
progress: impl Fn(String)
) -> Result<(), Error>
pub fn download(
&mut self,
remote_id: NodeId,
container_id: ContainerId,
progress: impl Fn(String)
) -> Result<(), Error>
Auto Trait Implementations
impl RefUnwindSafe for Client
impl Send for Client
impl !Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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