pub struct DaemonClientBlocking { /* private fields */ }
Implementations§
source§impl DaemonClientBlocking
impl DaemonClientBlocking
pub fn new( path: &str, default_timeout: u64, ) -> Result<DaemonClientBlocking, Box<dyn Error>>
pub fn call_and_wait( &mut self, req: &ClientRequest, timeout: Option<u64>, ) -> Result<ClientResponse, Box<dyn Error>>
Trait Implementations§
source§impl From<UnixStream> for DaemonClientBlocking
impl From<UnixStream> for DaemonClientBlocking
source§fn from(stream: UnixStream) -> Self
fn from(stream: UnixStream) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DaemonClientBlocking
impl RefUnwindSafe for DaemonClientBlocking
impl Send for DaemonClientBlocking
impl Sync for DaemonClientBlocking
impl Unpin for DaemonClientBlocking
impl UnwindSafe for DaemonClientBlocking
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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