#[repr(C)]pub struct Channel { /* private fields */ }
Implementations
sourceimpl Channel
impl Channel
pub fn send_response(&mut self, call_id: i32, message: UniquePtr<StringBuffer>)
pub fn send_notification(&mut self, message: UniquePtr<StringBuffer>)
pub fn flush_protocol_notifications(&mut self)
Trait Implementations
sourceimpl AsChannel for Channel
impl AsChannel for Channel
fn as_channel(&self) -> &Channel
fn as_channel_mut(&mut self) -> &mut Channel
Auto Trait Implementations
impl RefUnwindSafe for Channel
impl !Send for Channel
impl !Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more