pub struct PrintPipeline { /* private fields */ }Implementations§
Source§impl PrintPipeline
impl PrintPipeline
pub fn new() -> Self
pub fn with_html_user_data_folder(self, folder: impl Into<PathBuf>) -> Self
pub async fn list_printers(&self) -> Result<Vec<String>, String>
pub async fn printer_capabilities( &self, printer_name: &str, ) -> Result<PrinterCapabilities, String>
pub async fn print_document( &self, id: &str, url: &str, printer_name: &str, options: &PrintOptions, sink: Arc<dyn StatusSink>, )
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for PrintPipeline
impl !RefUnwindSafe for PrintPipeline
impl Send for PrintPipeline
impl Sync for PrintPipeline
impl Unpin for PrintPipeline
impl UnsafeUnpin for PrintPipeline
impl UnwindSafe for PrintPipeline
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