pub struct ApplicationClient { /* private fields */ }Implementations§
Source§impl ApplicationClient
impl ApplicationClient
pub fn new(socket_path: impl Into<PathBuf>) -> Self
pub fn socket_path(&self) -> &Path
pub fn request( &self, request: ApplicationRequest, ) -> Result<ApplicationResponse, ApplicationError>
Trait Implementations§
Source§impl Clone for ApplicationClient
impl Clone for ApplicationClient
Source§fn clone(&self) -> ApplicationClient
fn clone(&self) -> ApplicationClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ApplicationClient
impl RefUnwindSafe for ApplicationClient
impl Send for ApplicationClient
impl Sync for ApplicationClient
impl Unpin for ApplicationClient
impl UnsafeUnpin for ApplicationClient
impl UnwindSafe for ApplicationClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more