#[non_exhaustive]pub struct ConnectionFacts { /* private fields */ }Expand description
The daemon’s view of this connection at the time of the query. Recognition may change after revalidation or a reconnect.
Implementations§
Source§impl ConnectionFacts
impl ConnectionFacts
Sourcepub fn local(&self) -> bool
pub fn local(&self) -> bool
Whether this connection arrived on the Unix socket or Windows named pipe.
Sourcepub fn operator_app(&self) -> Option<&OperatorApp>
pub fn operator_app(&self) -> Option<&OperatorApp>
The operator app currently recognised for this connection. route.bind
sends it only to targets that advertise operator-app/v1.
Trait Implementations§
Source§impl Clone for ConnectionFacts
impl Clone for ConnectionFacts
Source§impl Debug for ConnectionFacts
impl Debug for ConnectionFacts
impl Eq for ConnectionFacts
Source§impl PartialEq for ConnectionFacts
impl PartialEq for ConnectionFacts
impl StructuralPartialEq for ConnectionFacts
Auto Trait Implementations§
impl Forget for ConnectionFacts
impl Freeze for ConnectionFacts
impl Move for ConnectionFacts
impl RefUnwindSafe for ConnectionFacts
impl Send for ConnectionFacts
impl Sync for ConnectionFacts
impl Unpin for ConnectionFacts
impl UnsafeUnpin for ConnectionFacts
impl UnwindSafe for ConnectionFacts
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