Struct distant_core::RemoteLspStdin
source · 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 !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