Struct xcb::base::Cookie [−][src]
wraps a cookie as returned by a request function.
Instantiations of Cookie
that are not VoidCookie
should provide a get_reply
method to return a Reply
Fields
conn: &'a Connection
checked: bool
Implementations
impl<'a> Cookie<'a, xcb_void_cookie_t>
[src]
pub fn request_check(&self) -> Result<(), GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_window_attributes_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetWindowAttributesReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_geometry_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetGeometryReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_query_tree_cookie_t>
[src]
pub fn get_reply(&self) -> Result<QueryTreeReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_intern_atom_cookie_t>
[src]
pub fn get_reply(&self) -> Result<InternAtomReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_atom_name_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetAtomNameReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_property_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetPropertyReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_list_properties_cookie_t>
[src]
pub fn get_reply(&self) -> Result<ListPropertiesReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_selection_owner_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetSelectionOwnerReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_grab_pointer_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GrabPointerReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_grab_keyboard_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GrabKeyboardReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_query_pointer_cookie_t>
[src]
pub fn get_reply(&self) -> Result<QueryPointerReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_motion_events_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetMotionEventsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_translate_coordinates_cookie_t>
[src]
pub fn get_reply(&self) -> Result<TranslateCoordinatesReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_input_focus_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetInputFocusReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_query_keymap_cookie_t>
[src]
pub fn get_reply(&self) -> Result<QueryKeymapReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_query_font_cookie_t>
[src]
pub fn get_reply(&self) -> Result<QueryFontReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_query_text_extents_cookie_t>
[src]
pub fn get_reply(&self) -> Result<QueryTextExtentsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_list_fonts_cookie_t>
[src]
pub fn get_reply(&self) -> Result<ListFontsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_list_fonts_with_info_cookie_t>
[src]
pub fn get_reply(&self) -> Result<ListFontsWithInfoReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_font_path_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetFontPathReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_image_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetImageReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_list_installed_colormaps_cookie_t>
[src]
pub fn get_reply(&self) -> Result<ListInstalledColormapsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_alloc_color_cookie_t>
[src]
pub fn get_reply(&self) -> Result<AllocColorReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_alloc_named_color_cookie_t>
[src]
pub fn get_reply(&self) -> Result<AllocNamedColorReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_alloc_color_cells_cookie_t>
[src]
pub fn get_reply(&self) -> Result<AllocColorCellsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_alloc_color_planes_cookie_t>
[src]
pub fn get_reply(&self) -> Result<AllocColorPlanesReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_query_colors_cookie_t>
[src]
pub fn get_reply(&self) -> Result<QueryColorsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_lookup_color_cookie_t>
[src]
pub fn get_reply(&self) -> Result<LookupColorReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_query_best_size_cookie_t>
[src]
pub fn get_reply(&self) -> Result<QueryBestSizeReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_query_extension_cookie_t>
[src]
pub fn get_reply(&self) -> Result<QueryExtensionReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_list_extensions_cookie_t>
[src]
pub fn get_reply(&self) -> Result<ListExtensionsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_keyboard_mapping_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetKeyboardMappingReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_keyboard_control_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetKeyboardControlReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_pointer_control_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetPointerControlReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_screen_saver_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetScreenSaverReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_list_hosts_cookie_t>
[src]
pub fn get_reply(&self) -> Result<ListHostsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_set_pointer_mapping_cookie_t>
[src]
pub fn get_reply(&self) -> Result<SetPointerMappingReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_pointer_mapping_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetPointerMappingReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_set_modifier_mapping_cookie_t>
[src]
pub fn get_reply(&self) -> Result<SetModifierMappingReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_get_modifier_mapping_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetModifierMappingReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_big_requests_enable_cookie_t>
[src]
pub fn get_reply(&self) -> Result<EnableReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xc_misc_get_version_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetVersionReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xc_misc_get_xid_range_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetXidRangeReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xc_misc_get_xid_list_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetXidListReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_use_extension_cookie_t>
[src]
pub fn get_reply(&self) -> Result<UseExtensionReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_get_state_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetStateReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_get_controls_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetControlsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_get_map_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetMapReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_get_compat_map_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetCompatMapReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_get_indicator_state_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetIndicatorStateReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_get_indicator_map_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetIndicatorMapReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_get_named_indicator_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetNamedIndicatorReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_get_names_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetNamesReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_per_client_flags_cookie_t>
[src]
pub fn get_reply(&self) -> Result<PerClientFlagsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_list_components_cookie_t>
[src]
pub fn get_reply(&self) -> Result<ListComponentsReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_get_kbd_by_name_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetKbdByNameReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_get_device_info_cookie_t>
[src]
pub fn get_reply(&self) -> Result<GetDeviceInfoReply, GenericError>
[src]
impl<'a> Cookie<'a, xcb_xkb_set_debugging_flags_cookie_t>
[src]
pub fn get_reply(&self) -> Result<SetDebuggingFlagsReply, GenericError>
[src]
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for Cookie<'a, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<'a, T> !Send for Cookie<'a, T>
impl<'a, T> !Sync for Cookie<'a, T>
impl<'a, T> Unpin for Cookie<'a, T> where
T: Unpin,
T: Unpin,
impl<'a, T> UnwindSafe for Cookie<'a, T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,