pub struct IppClient(/* private fields */);
Expand description
Blocking IPP client.
IPP client is responsible for sending requests to IPP server.
Implementations§
source§impl IppClient
impl IppClient
sourcepub fn builder(uri: Uri) -> IppClientBuilder<Self>
pub fn builder(uri: Uri) -> IppClientBuilder<Self>
Create IPP client builder for setting extra options
sourcepub fn send<R>(&self, request: R) -> Result<IppRequestResponse, IppError>where
R: Into<IppRequestResponse>,
pub fn send<R>(&self, request: R) -> Result<IppRequestResponse, IppError>where R: Into<IppRequestResponse>,
Send IPP request to the server
Auto Trait Implementations§
impl RefUnwindSafe for IppClient
impl Send for IppClient
impl Sync for IppClient
impl Unpin for IppClient
impl UnwindSafe for IppClient
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