Crate ipp [] [src]

IPP protocol implementation for Rust

Usage example:

 let mut req = IppRequest::new(GET_PRINTER_ATTRIBUTES, "http://localhost:631/printers/test-printer");
 let client = IppClient::new();
 let attrs = client.send(&mut req).unwrap();
 for (_, v) in attrs.get_group(PRINTER_ATTRIBUTES_TAG).unwrap() {
     println!("{}: {}", v.name(), v.value());
 }

Modules

attribute

Attribute-related structs

client

IPP client

consts

This module holds IPP constants such as attribute names, operations and tags

parser

IPP stream parser

request

IPP request

response

IPP response

value

IPP value

Enums

IppError

IPP value

Traits

ReadIppExt

Trait which adds two methods to Read implementations: read_string and read_vec

Type Definitions

Result