pub struct CompressorProxy { /* private fields */ }Implementations§
Source§impl CompressorProxy
impl CompressorProxy
pub fn bridge_url(&self) -> &str
pub fn token(&self) -> &str
pub fn tools(&self) -> &[Tool]
pub fn backend_tools(&self) -> &[Tool]
pub fn just_bash_providers(&self) -> &[JustBashProviderSpec]
pub fn schema(&self, tool_name: &str) -> Result<Value, Error>
pub fn schema_on( &self, server: Option<&str>, tool_name: &str, ) -> Result<Value, Error>
pub async fn invoke( &self, tool_name: &str, input: Value, ) -> Result<String, Error>
pub async fn invoke_on( &self, server: Option<&str>, tool_name: &str, input: Value, ) -> Result<String, Error>
pub fn executable_tools(&self) -> BTreeMap<String, Box<dyn ExecutableTool + '_>>
pub fn write_cli_client( &self, output_dir: impl AsRef<Path>, name: Option<&str>, ) -> Result<GeneratedClient, Error>
pub fn generate_code_client( &self, language: CodeLanguage, output_dir: impl AsRef<Path>, name: Option<&str>, ) -> Result<GeneratedClient, Error>
pub fn write_code_client( &self, language: CodeLanguage, output_dir: impl AsRef<Path>, name: Option<&str>, ) -> Result<GeneratedClient, Error>
pub fn generate_client( &self, kind: GeneratedClientKind, output_dir: impl AsRef<Path>, name: Option<&str>, ) -> Result<GeneratedClient, Error>
pub fn write_client( &self, kind: GeneratedClientKind, output_dir: impl AsRef<Path>, name: Option<&str>, ) -> Result<GeneratedClient, Error>
Auto Trait Implementations§
impl Freeze for CompressorProxy
impl RefUnwindSafe for CompressorProxy
impl Send for CompressorProxy
impl Sync for CompressorProxy
impl Unpin for CompressorProxy
impl UnsafeUnpin for CompressorProxy
impl UnwindSafe for CompressorProxy
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