pub struct RemoteLspStdin { /* private fields */ }
Expand description
A handle to a remote LSP process’ standard input (stdin)
Implementations§
Source§impl RemoteLspStdin
impl RemoteLspStdin
pub fn new(inner: RemoteStdin, scheme: impl Into<Option<String>>) -> Self
Sourcepub fn try_write(&mut self, data: &[u8]) -> Result<()>
pub fn try_write(&mut self, data: &[u8]) -> Result<()>
Tries to write data to the stdin of a specific remote process
pub fn try_write_str(&mut self, data: &str) -> Result<()>
Sourcepub async fn write(&mut self, data: &[u8]) -> Result<()>
pub async fn write(&mut self, data: &[u8]) -> Result<()>
Writes data to the stdin of a specific remote process
pub async fn write_str(&mut self, data: &str) -> Result<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RemoteLspStdin
impl RefUnwindSafe for RemoteLspStdin
impl Send for RemoteLspStdin
impl Sync for RemoteLspStdin
impl Unpin for RemoteLspStdin
impl UnwindSafe for RemoteLspStdin
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