pub struct OpenCodeEndpoint { /* private fields */ }Expand description
Removable HTTP endpoint around one already-authorized SDK runtime client.
Implementations§
Source§impl OpenCodeEndpoint
impl OpenCodeEndpoint
pub fn new( runtime: Arc<dyn SdkRuntime>, runtime_id: impl Into<String>, workspace: impl Into<PathBuf>, ) -> Result<(Arc<Self>, OpenCodeClientCredential), CredentialError>
pub fn session_id(&self) -> &str
Auto Trait Implementations§
impl !RefUnwindSafe for OpenCodeEndpoint
impl !UnwindSafe for OpenCodeEndpoint
impl Freeze for OpenCodeEndpoint
impl Send for OpenCodeEndpoint
impl Sync for OpenCodeEndpoint
impl Unpin for OpenCodeEndpoint
impl UnsafeUnpin for OpenCodeEndpoint
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