pub struct Connection {
pub main_stream: UnixStream,
pub event_stream: UnixStream,
}Expand description
Connection to Termux GUI service
Fields§
§main_stream: UnixStream§event_stream: UnixStreamImplementations§
Source§impl Connection
impl Connection
Sourcepub fn event_stream(&mut self) -> &mut UnixStream
pub fn event_stream(&mut self) -> &mut UnixStream
Get a mutable reference to the event stream
Auto Trait Implementations§
impl Freeze for Connection
impl RefUnwindSafe for Connection
impl Send for Connection
impl Sync for Connection
impl Unpin for Connection
impl UnwindSafe for Connection
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