pub struct BindResult {
pub endpoint: String,
}Expand description
Result of Browser::bind() — the endpoint other clients can connect to.
Fields§
§endpoint: StringWebSocket URL (e.g. "ws://127.0.0.1:PORT/GUID") or pipe endpoint
that an MCP client, playwright-cli, or third-party agent tool can
attach to with BrowserType::connect().
Trait Implementations§
Source§impl Clone for BindResult
impl Clone for BindResult
Source§fn clone(&self) -> BindResult
fn clone(&self) -> BindResult
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 BindResult
impl Debug for BindResult
Source§impl<'de> Deserialize<'de> for BindResult
impl<'de> Deserialize<'de> for BindResult
Source§fn 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
Auto Trait Implementations§
impl Freeze for BindResult
impl RefUnwindSafe for BindResult
impl Send for BindResult
impl Sync for BindResult
impl Unpin for BindResult
impl UnsafeUnpin for BindResult
impl UnwindSafe for BindResult
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