pub struct Cookie<'a, 'b, C: Connection> { /* private fields */ }
Expand description
A cookie for creating a Handle
Implementations§
source§impl<C: Connection> Cookie<'_, '_, C>
impl<C: Connection> Cookie<'_, '_, C>
sourcepub fn reply(self) -> Result<Handle, ReplyOrIdError>
pub fn reply(self) -> Result<Handle, ReplyOrIdError>
Get the handle from the replies from the X11 server
sourcepub fn reply_unchecked(self) -> Result<Option<Handle>, ReplyOrIdError>
pub fn reply_unchecked(self) -> Result<Option<Handle>, ReplyOrIdError>
Get the handle from the replies from the X11 server
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'b, C> Freeze for Cookie<'a, 'b, C>
impl<'a, 'b, C> RefUnwindSafe for Cookie<'a, 'b, C>where
C: RefUnwindSafe,
impl<'a, 'b, C> Send for Cookie<'a, 'b, C>where
C: Sync,
impl<'a, 'b, C> Sync for Cookie<'a, 'b, C>where
C: Sync,
impl<'a, 'b, C> Unpin for Cookie<'a, 'b, C>
impl<'a, 'b, C> UnwindSafe for Cookie<'a, 'b, C>where
C: RefUnwindSafe,
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