#[repr(C)]pub struct Channel { /* private fields */ }Implementations§
Source§impl 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§
Auto Trait Implementations§
impl Freeze for Channel
impl RefUnwindSafe for Channel
impl !Send for Channel
impl !Sync for Channel
impl Unpin for Channel
impl UnwindSafe for Channel
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