[−][src]Struct ipp_client::IppClientBuilder
Builder to create IPP client
Methods
impl IppClientBuilder
[src]
pub fn new(uri: &str) -> Self
[src]
Create a client builder for a given URI
pub fn ca_cert<P>(self, path: P) -> Self where
P: AsRef<Path>,
[src]
P: AsRef<Path>,
Add CA certificate
pub fn ca_certs<I, P>(self, paths: I) -> Self where
I: IntoIterator<Item = P>,
P: AsRef<Path>,
[src]
I: IntoIterator<Item = P>,
P: AsRef<Path>,
Add CA certificates
pub fn verify_hostname(self, verify: bool) -> Self
[src]
Enable or disable host name verification. Default is true.
pub fn verify_certificate(self, verify: bool) -> Self
[src]
Enable or disable server certificate verification. Default is true.
pub fn timeout(self, timeout: u64) -> Self
[src]
Set network timeout in seconds. Default is 0 (no timeout)
pub fn build(self) -> IppClient
[src]
Build the client
Auto Trait Implementations
impl Unpin for IppClientBuilder
impl Sync for IppClientBuilder
impl Send for IppClientBuilder
impl RefUnwindSafe for IppClientBuilder
impl UnwindSafe for IppClientBuilder
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,