pub struct Context(_);Implementations§
source§impl Context
impl Context
sourcepub fn read(&self) -> Result<ConnectionReadResult>
pub fn read(&self) -> Result<ConnectionReadResult>
Read any pending data on socket into buffer
pub fn pending_request(&self) -> Option<PendingRequestResult<Request>>
pub fn handshake(&self) -> Handshake
pub fn object_interface(&self, id: u64) -> Option<(String, u32)>
pub fn flush(&self) -> Result<()>
Trait Implementations§
source§impl AsFd for Context
impl AsFd for Context
source§fn as_fd(&self) -> BorrowedFd<'_>
fn as_fd(&self) -> BorrowedFd<'_>
Borrows the file descriptor. Read more
Auto Trait Implementations§
impl RefUnwindSafe for Context
impl Send for Context
impl Sync for Context
impl Unpin for Context
impl UnwindSafe for Context
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