Struct nvim_oxi::types::ChannelInfos
source · [−]#[non_exhaustive]pub struct ChannelInfos {
pub argv: Option<Vec<String>>,
pub buffer: Option<Buffer>,
pub client: Option<ClientInfos>,
pub id: u32,
pub mode: ChannelMode,
pub pty: Option<String>,
pub stream: ChannelStream,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.argv: Option<Vec<String>>Job arguments list.
buffer: Option<Buffer>Buffer with connected terminal instance. Only present when mode is
ChannelMode::Terminal.
client: Option<ClientInfos>Info about the client on the other side of an RPC channel. Only present
when mode is ChannelMode::Rpc.
id: u32Channel id.
mode: ChannelModeHow data receiveed on the channel is interpeted.
pty: Option<String>Name of a pseudoterminal. On a POSIX system this is a device path like
/dev/pts/1. If the name is unknown, the key will still be present if
a pty is used (e.g. for ConPTY on Windows).
stream: ChannelStreamStream underlying the channel.
Trait Implementations
sourceimpl Clone for ChannelInfos
impl Clone for ChannelInfos
sourcefn clone(&self) -> ChannelInfos
fn clone(&self) -> ChannelInfos
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ChannelInfos
impl Debug for ChannelInfos
sourceimpl<'de> Deserialize<'de> for ChannelInfos
impl<'de> Deserialize<'de> for ChannelInfos
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl FromObject for ChannelInfos
impl FromObject for ChannelInfos
sourceimpl PartialEq<ChannelInfos> for ChannelInfos
impl PartialEq<ChannelInfos> for ChannelInfos
sourcefn eq(&self, other: &ChannelInfos) -> bool
fn eq(&self, other: &ChannelInfos) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &ChannelInfos) -> bool
fn ne(&self, other: &ChannelInfos) -> bool
This method tests for !=.
impl Eq for ChannelInfos
impl StructuralEq for ChannelInfos
impl StructuralPartialEq for ChannelInfos
Auto Trait Implementations
impl RefUnwindSafe for ChannelInfos
impl Send for ChannelInfos
impl Sync for ChannelInfos
impl Unpin for ChannelInfos
impl UnwindSafe for ChannelInfos
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