Trait x11rb::protocol::xprint::ConnectionExt

source ·
pub trait ConnectionExt: RequestConnection {
Show 25 methods // Provided methods fn xprint_print_query_version( &self ) -> Result<Cookie<'_, Self, PrintQueryVersionReply>, ConnectionError> { ... } fn xprint_print_get_printer_list<'c, 'input>( &'c self, printer_name: &'input [String8], locale: &'input [String8] ) -> Result<Cookie<'c, Self, PrintGetPrinterListReply>, ConnectionError> { ... } fn xprint_print_rehash_printer_list( &self ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xprint_create_context<'c, 'input>( &'c self, context_id: u32, printer_name: &'input [String8], locale: &'input [String8] ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xprint_print_set_context( &self, context: u32 ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xprint_print_get_context( &self ) -> Result<Cookie<'_, Self, PrintGetContextReply>, ConnectionError> { ... } fn xprint_print_destroy_context( &self, context: u32 ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xprint_print_get_screen_of_context( &self ) -> Result<Cookie<'_, Self, PrintGetScreenOfContextReply>, ConnectionError> { ... } fn xprint_print_start_job( &self, output_mode: u8 ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xprint_print_end_job( &self, cancel: bool ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xprint_print_start_doc( &self, driver_mode: u8 ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xprint_print_end_doc( &self, cancel: bool ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xprint_print_put_document_data<'c, 'input>( &'c self, drawable: Drawable, data: &'input [u8], doc_format: &'input [String8], options: &'input [String8] ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xprint_print_get_document_data( &self, context: Pcontext, max_bytes: u32 ) -> Result<Cookie<'_, Self, PrintGetDocumentDataReply>, ConnectionError> { ... } fn xprint_print_start_page( &self, window: Window ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xprint_print_end_page( &self, cancel: bool ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xprint_print_select_input( &self, context: Pcontext, event_mask: u32 ) -> Result<VoidCookie<'_, Self>, ConnectionError> { ... } fn xprint_print_input_selected( &self, context: Pcontext ) -> Result<Cookie<'_, Self, PrintInputSelectedReply>, ConnectionError> { ... } fn xprint_print_get_attributes( &self, context: Pcontext, pool: u8 ) -> Result<Cookie<'_, Self, PrintGetAttributesReply>, ConnectionError> { ... } fn xprint_print_get_one_attributes<'c, 'input>( &'c self, context: Pcontext, pool: u8, name: &'input [String8] ) -> Result<Cookie<'c, Self, PrintGetOneAttributesReply>, ConnectionError> { ... } fn xprint_print_set_attributes<'c, 'input>( &'c self, context: Pcontext, string_len: u32, pool: u8, rule: u8, attributes: &'input [String8] ) -> Result<VoidCookie<'c, Self>, ConnectionError> { ... } fn xprint_print_get_page_dimensions( &self, context: Pcontext ) -> Result<Cookie<'_, Self, PrintGetPageDimensionsReply>, ConnectionError> { ... } fn xprint_print_query_screens( &self ) -> Result<Cookie<'_, Self, PrintQueryScreensReply>, ConnectionError> { ... } fn xprint_print_set_image_resolution( &self, context: Pcontext, image_resolution: u16 ) -> Result<Cookie<'_, Self, PrintSetImageResolutionReply>, ConnectionError> { ... } fn xprint_print_get_image_resolution( &self, context: Pcontext ) -> Result<Cookie<'_, Self, PrintGetImageResolutionReply>, ConnectionError> { ... }
}
Expand description

Extension trait defining the requests of this extension.

Provided Methods§

source

fn xprint_print_query_version( &self ) -> Result<Cookie<'_, Self, PrintQueryVersionReply>, ConnectionError>

source

fn xprint_print_get_printer_list<'c, 'input>( &'c self, printer_name: &'input [String8], locale: &'input [String8] ) -> Result<Cookie<'c, Self, PrintGetPrinterListReply>, ConnectionError>

source

fn xprint_print_rehash_printer_list( &self ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xprint_create_context<'c, 'input>( &'c self, context_id: u32, printer_name: &'input [String8], locale: &'input [String8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn xprint_print_set_context( &self, context: u32 ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xprint_print_get_context( &self ) -> Result<Cookie<'_, Self, PrintGetContextReply>, ConnectionError>

source

fn xprint_print_destroy_context( &self, context: u32 ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xprint_print_get_screen_of_context( &self ) -> Result<Cookie<'_, Self, PrintGetScreenOfContextReply>, ConnectionError>

source

fn xprint_print_start_job( &self, output_mode: u8 ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xprint_print_end_job( &self, cancel: bool ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xprint_print_start_doc( &self, driver_mode: u8 ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xprint_print_end_doc( &self, cancel: bool ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xprint_print_put_document_data<'c, 'input>( &'c self, drawable: Drawable, data: &'input [u8], doc_format: &'input [String8], options: &'input [String8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn xprint_print_get_document_data( &self, context: Pcontext, max_bytes: u32 ) -> Result<Cookie<'_, Self, PrintGetDocumentDataReply>, ConnectionError>

source

fn xprint_print_start_page( &self, window: Window ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xprint_print_end_page( &self, cancel: bool ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xprint_print_select_input( &self, context: Pcontext, event_mask: u32 ) -> Result<VoidCookie<'_, Self>, ConnectionError>

source

fn xprint_print_input_selected( &self, context: Pcontext ) -> Result<Cookie<'_, Self, PrintInputSelectedReply>, ConnectionError>

source

fn xprint_print_get_attributes( &self, context: Pcontext, pool: u8 ) -> Result<Cookie<'_, Self, PrintGetAttributesReply>, ConnectionError>

source

fn xprint_print_get_one_attributes<'c, 'input>( &'c self, context: Pcontext, pool: u8, name: &'input [String8] ) -> Result<Cookie<'c, Self, PrintGetOneAttributesReply>, ConnectionError>

source

fn xprint_print_set_attributes<'c, 'input>( &'c self, context: Pcontext, string_len: u32, pool: u8, rule: u8, attributes: &'input [String8] ) -> Result<VoidCookie<'c, Self>, ConnectionError>

source

fn xprint_print_get_page_dimensions( &self, context: Pcontext ) -> Result<Cookie<'_, Self, PrintGetPageDimensionsReply>, ConnectionError>

source

fn xprint_print_query_screens( &self ) -> Result<Cookie<'_, Self, PrintQueryScreensReply>, ConnectionError>

source

fn xprint_print_set_image_resolution( &self, context: Pcontext, image_resolution: u16 ) -> Result<Cookie<'_, Self, PrintSetImageResolutionReply>, ConnectionError>

source

fn xprint_print_get_image_resolution( &self, context: Pcontext ) -> Result<Cookie<'_, Self, PrintGetImageResolutionReply>, ConnectionError>

Object Safety§

This trait is not object safe.

Implementors§