pub struct ClientMethodNames {
pub session_request_permission: &'static str,
pub session_update: &'static str,
pub fs_write_text_file: &'static str,
pub fs_read_text_file: &'static str,
pub terminal_create: &'static str,
pub terminal_output: &'static str,
pub terminal_release: &'static str,
pub terminal_wait_for_exit: &'static str,
pub terminal_kill: &'static str,
}Expand description
Names of all methods that clients handle.
Provides a centralized definition of method names used in the protocol.
Fields§
§session_request_permission: &'static strMethod for requesting permission from the user.
session_update: &'static strNotification for session updates.
fs_write_text_file: &'static strMethod for writing text files.
fs_read_text_file: &'static strMethod for reading text files.
terminal_create: &'static strMethod for creating new terminals.
terminal_output: &'static strMethod for getting terminals output.
terminal_release: &'static strMethod for releasing a terminal.
terminal_wait_for_exit: &'static strMethod for waiting for a terminal to finish.
terminal_kill: &'static strMethod for killing a terminal.
Trait Implementations§
Source§impl Clone for ClientMethodNames
impl Clone for ClientMethodNames
Source§fn clone(&self) -> ClientMethodNames
fn clone(&self) -> ClientMethodNames
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClientMethodNames
impl Debug for ClientMethodNames
Source§impl Deserialize<'static> for ClientMethodNames
impl Deserialize<'static> for ClientMethodNames
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ClientMethodNames
impl PartialEq for ClientMethodNames
Source§impl Serialize for ClientMethodNames
impl Serialize for ClientMethodNames
impl Eq for ClientMethodNames
impl StructuralPartialEq for ClientMethodNames
Auto Trait Implementations§
impl Freeze for ClientMethodNames
impl RefUnwindSafe for ClientMethodNames
impl Send for ClientMethodNames
impl Sync for ClientMethodNames
impl Unpin for ClientMethodNames
impl UnwindSafe for ClientMethodNames
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