pub trait IppOperation {
// Required method
fn into_ipp_request(self, uri: &str) -> IppRequestResponse;
// Provided method
fn version(&self) -> IppVersion { ... }
}
Expand description
Trait which represents a single IPP operation
Required Methods§
Sourcefn into_ipp_request(self, uri: &str) -> IppRequestResponse
fn into_ipp_request(self, uri: &str) -> IppRequestResponse
Convert this operation to IPP request which is ready for sending
Provided Methods§
Sourcefn version(&self) -> IppVersion
fn version(&self) -> IppVersion
Return IPP version for this operation. Default is 1.1