[][src]Struct ipp::operation::PrintJob

pub struct PrintJob { /* fields omitted */ }

IPP operation Print-Job

Methods

impl PrintJob[src]

pub fn new(
    reader: Box<dyn Read>,
    user_name: &str,
    job_name: Option<&str>
) -> PrintJob
[src]

Create Print-Job operation

  • reader - std::io::Read reference which points to the data to be printed
  • user_name - name of the user (requesting-user-name)
  • job_name - optional job name (job-name)

pub fn add_attribute(&mut self, attribute: IppAttribute)[src]

Set extra job attribute for this operation, for example colormodel=grayscale

Trait Implementations

impl IppOperation for PrintJob[src]

Auto Trait Implementations

impl !Send for PrintJob

impl !Sync for PrintJob

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Erased for T

impl<T, U> TryInto for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err