[−][src]Enum breadx::display::name::NameConnection
This is a wrapper around the connection created by DisplayConnection::create()
. It implements
Connection
for a variety of connections that X11 usually transmits itself over. You rarely
have to worry about this type of connection.
Trait Implementations
impl Connection for NameConnection
[src]
pub fn send_packet(&mut self, bytes: &[u8], fds: &mut Vec<Fd>) -> Result
[src]
pub fn read_packet(&mut self, bytes: &mut [u8], fds: &mut Vec<Fd>) -> Result
[src]
pub fn send_packet_async<'future, 'a, 'b, 'c>(
&'a mut self,
bytes: &'b [u8],
fds: &'c mut Vec<Fd>
) -> GenericFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
[src]
&'a mut self,
bytes: &'b [u8],
fds: &'c mut Vec<Fd>
) -> GenericFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
pub fn read_packet_async<'future, 'a, 'b, 'c>(
&'a mut self,
bytes: &'b mut [u8],
fds: &'c mut Vec<Fd>
) -> GenericFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
[src]
&'a mut self,
bytes: &'b mut [u8],
fds: &'c mut Vec<Fd>
) -> GenericFuture<'future> where
'a: 'future,
'b: 'future,
'c: 'future,
Auto Trait Implementations
impl RefUnwindSafe for NameConnection
[src]
impl Send for NameConnection
[src]
impl Sync for NameConnection
[src]
impl Unpin for NameConnection
[src]
impl UnwindSafe for NameConnection
[src]
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>,