pub struct Send<'a, E: BaseEvent> {
pub event: &'a E,
pub data_type: u32,
}
Expand description
The Send
request.
This request replies SendReply.
Associated cookie types are SendCookie and SendCookieUnchecked.
Fields§
§event: &'a E
§data_type: u32
Trait Implementations§
source§impl<'a, E: BaseEvent> RawRequest for Send<'a, E>
impl<'a, E: BaseEvent> RawRequest for Send<'a, E>
source§fn raw_request(&self, c: &Connection, checked: bool) -> u64
fn raw_request(&self, c: &Connection, checked: bool) -> u64
Actual implementation of the request sending Read more
source§impl<'a, E: BaseEvent> RequestWithReply for Send<'a, E>
impl<'a, E: BaseEvent> RequestWithReply for Send<'a, E>
source§type Cookie = SendCookie
type Cookie = SendCookie
Default cookie type for the request, as returned by Connection::send_request.
source§type CookieUnchecked = SendCookieUnchecked
type CookieUnchecked = SendCookieUnchecked
Unchecked cookie type for the request, as returned by Connection::send_request_unchecked.
Auto Trait Implementations§
impl<'a, E> Freeze for Send<'a, E>
impl<'a, E> RefUnwindSafe for Send<'a, E>where
E: RefUnwindSafe,
impl<'a, E> Send for Send<'a, E>where
E: Sync,
impl<'a, E> Sync for Send<'a, E>where
E: Sync,
impl<'a, E> Unpin for Send<'a, E>
impl<'a, E> UnwindSafe for Send<'a, E>where
E: 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)