pub struct ConnectionMetadata {
pub port: u16,
pub status: ProbeStatus,
pub loopback_only: Option<bool>,
pub teams_owned: Option<bool>,
pub version: Option<BrowserVersion>,
pub browser_websocket_advertised: bool,
pub targets: Vec<TargetMetadata>,
pub foreign_listeners: Vec<String>,
pub user_debugging_flags: bool,
}Fields§
§port: u16§status: ProbeStatus§loopback_only: Option<bool>§teams_owned: Option<bool>§version: Option<BrowserVersion>§browser_websocket_advertised: bool§targets: Vec<TargetMetadata>§foreign_listeners: Vec<String>Executable names of the applications hosting refused listeners.
user_debugging_flags: boolThe user-wide WebView2 arguments open a debugging port in every WebView2 app.
Implementations§
Source§impl ConnectionMetadata
impl ConnectionMetadata
pub fn endpoint_available(&self) -> bool
Sourcepub fn signed_out(&self) -> bool
pub fn signed_out(&self) -> bool
The verified browser shows web pages but no Teams page: Teams was sent to sign-in.
Sourcepub fn detail(&self) -> String
pub fn detail(&self) -> String
The status explanation plus what is known about a refused listener.
Sourcepub fn stray_debugging_flags(&self) -> Option<&[String]>
pub fn stray_debugging_flags(&self) -> Option<&[String]>
Applications to quit and reopen after the user-wide flags are cleared.
Trait Implementations§
Source§impl Debug for ConnectionMetadata
impl Debug for ConnectionMetadata
Source§impl<'de> Deserialize<'de> for ConnectionMetadata
impl<'de> Deserialize<'de> for ConnectionMetadata
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 ConnectionMetadata
impl RefUnwindSafe for ConnectionMetadata
impl Send for ConnectionMetadata
impl Sync for ConnectionMetadata
impl Unpin for ConnectionMetadata
impl UnsafeUnpin for ConnectionMetadata
impl UnwindSafe for ConnectionMetadata
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more