pub(crate) fn service_id(&self) -> Option<ObjectId> {
        match self {
            HandshakePhase::PreHello { .. } => None,
            HandshakePhase::PostHello { generation, .. } => generation.service_id(),
            HandshakePhase::AfterCompletion { generation, .. } => generation.service_id(),
        }
    }
/// The `serviceId` reported by the server.  If the initial hello has not completed, returns
/// `None`.
The `serviceId` reported by the server.  If the initial hello has not completed, returns
`None`.
The ` serviceId ` reported by the server . If the initial hello has not completed returns ` None ` .
pub(crate) fn service_id(&self) -> Option<ObjectId> {
        match self {
            HandshakePhase::PreHello { .. } => None,
            HandshakePhase::PostHello { generation, .. } => generation.service_id(),
            HandshakePhase::AfterCompletion { generation, .. } => generation.service_id(),
        }
    }
pub ( crate ) fn service_id ( & self ) -> Option < ObjectId > { match self { HandshakePhase :: PreHello { .. } => None , HandshakePhase :: PostHello { generation , .. } => generation . service_id ( ) , HandshakePhase :: AfterCompletion { generation , .. } => generation . service_id ( ) , } }
The `serviceId` reported by the server.
The ` serviceId ` reported by the server .
&self
&self