#[non_exhaustive]pub struct ConnectionDescribeReply {
pub local: bool,
pub operator_app: Option<OperatorApp>,
/* private fields */
}Expand description
The daemon’s current view of the caller’s connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.local: boolTrue for a Unix socket or Windows named pipe, false for loopback TCP.
operator_app: Option<OperatorApp>The app currently recognised for this connection, omitted when none is.
route.bind sends it only to targets that advertise operator-app/v1.
Implementations§
Source§impl ConnectionDescribeReply
impl ConnectionDescribeReply
pub fn new(local: bool, operator_app: Option<OperatorApp>) -> Self
Trait Implementations§
Source§impl Clone for ConnectionDescribeReply
impl Clone for ConnectionDescribeReply
Source§impl Debug for ConnectionDescribeReply
impl Debug for ConnectionDescribeReply
Source§impl<'de> Deserialize<'de> for ConnectionDescribeReply
impl<'de> Deserialize<'de> for ConnectionDescribeReply
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
impl Eq for ConnectionDescribeReply
Source§impl PartialEq for ConnectionDescribeReply
impl PartialEq for ConnectionDescribeReply
Source§impl Serialize for ConnectionDescribeReply
impl Serialize for ConnectionDescribeReply
impl StructuralPartialEq for ConnectionDescribeReply
Auto Trait Implementations§
impl Forget for ConnectionDescribeReply
impl Freeze for ConnectionDescribeReply
impl Move for ConnectionDescribeReply
impl RefUnwindSafe for ConnectionDescribeReply
impl Send for ConnectionDescribeReply
impl Sync for ConnectionDescribeReply
impl Unpin for ConnectionDescribeReply
impl UnsafeUnpin for ConnectionDescribeReply
impl UnwindSafe for ConnectionDescribeReply
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