@@ -137,7 +137,8 @@ pub type PubNubGenericClient<T, D> = PubNubClientInstance<PubNubMiddleware<T>, D
137137/// You must provide a valid [`Keyset`] with pub/sub keys and a string User ID
138138/// to identify the client.
139139///
140- /// To see available methods, please refer to the [`PubNubClientInstance`] documentation.
140+ /// To see available methods, please refer to the [`PubNubClientInstance`]
141+ /// documentation.
141142///
142143/// # Examples
143144/// ```
@@ -216,7 +217,8 @@ pub type PubNubClient = PubNubGenericClient<TransportReqwest, DeserializerSerde>
216217/// PubNub client raw instance.
217218///
218219/// This struct contains the actual client state.
219- /// It shouldn't be used directly. Use [`PubNubGenericClient`] or [`PubNubClient`] instead.
220+ /// It shouldn't be used directly. Use [`PubNubGenericClient`] or
221+ /// [`PubNubClient`] instead.
220222#[ derive( Debug ) ]
221223pub struct PubNubClientInstance < T , D > {
222224 pub ( crate ) inner : Arc < PubNubClientRef < T , D > > ,
@@ -592,7 +594,8 @@ pub struct PubNubClientBuilder;
592594impl PubNubClientBuilder {
593595 /// Set the transport layer for the client.
594596 ///
595- /// Returns [`PubNubClientRuntimeBuilder`] where depending from enabled `features` following can be set:
597+ /// Returns [`PubNubClientRuntimeBuilder`] where depending from enabled
598+ /// `features` following can be set:
596599 /// * runtime environment
597600 /// * API ket set to access [`PubNub API`].
598601 ///
@@ -641,7 +644,8 @@ impl PubNubClientBuilder {
641644
642645 /// Set the transport layer for the client.
643646 ///
644- /// Returns [`PubNubClientDeserializerBuilder`] where depending from enabled `features` following can be set:
647+ /// Returns [`PubNubClientDeserializerBuilder`] where depending from enabled
648+ /// `features` following can be set:
645649 /// * [`PubNub API`] response deserializer
646650 /// * API ket set to access [`PubNub API`].
647651 ///
@@ -690,7 +694,8 @@ impl PubNubClientBuilder {
690694
691695 /// Set the blocking transport layer for the client.
692696 ///
693- /// Returns [`PubNubClientRuntimeBuilder`] where depending from enabled `features` following can be set:
697+ /// Returns [`PubNubClientRuntimeBuilder`] where depending from enabled
698+ /// `features` following can be set:
694699 /// * runtime environment
695700 /// * API ket set to access [`PubNub API`].
696701 ///
@@ -742,7 +747,8 @@ impl PubNubClientBuilder {
742747
743748 /// Set the blocking transport layer for the client.
744749 ///
745- /// Returns [`PubNubClientDeserializerBuilder`] where depending from enabled `features` following can be set:
750+ /// Returns [`PubNubClientDeserializerBuilder`] where depending from enabled
751+ /// `features` following can be set:
746752 /// * [`PubNub API`] response deserializer
747753 /// * API ket set to access [`PubNub API`].
748754 ///
@@ -795,8 +801,8 @@ impl PubNubClientBuilder {
795801
796802/// PubNub builder for [`PubNubClient`] to set API keys.
797803///
798- /// The builder provides methods to set the [`PubNub API`] keys set and returns the next
799- /// step of the builder with the remaining parameters.
804+ /// The builder provides methods to set the [`PubNub API`] keys set and returns
805+ /// the next step of the builder with the remaining parameters.
800806///
801807/// See [`PubNubClient`] for more information.
802808///
@@ -862,7 +868,8 @@ impl<T, D> PubNubClientKeySetBuilder<T, D> {
862868/// Runtime will be used for detached tasks spawning and delayed task execution.
863869///
864870/// Depending from enabled `features` methods may return:
865- /// * [`PubNubClientDeserializerBuilder`] to set custom [`PubNub API`] deserializer
871+ /// * [`PubNubClientDeserializerBuilder`] to set custom [`PubNub API`]
872+ /// deserializer
866873/// * [`PubNubClientKeySetBuilder`] to set API keys set to access [`PubNub API`]
867874/// * [`PubNubClientUserIdBuilder`] to set user id for the client.
868875///
@@ -877,7 +884,8 @@ pub struct PubNubClientRuntimeBuilder<T> {
877884impl < T > PubNubClientRuntimeBuilder < T > {
878885 /// Set runtime environment.
879886 ///
880- /// Returns [`PubNubClientDeserializerBuilder`] where depending from enabled `features` following can be set:
887+ /// Returns [`PubNubClientDeserializerBuilder`] where depending from enabled
888+ /// `features` following can be set:
881889 /// * [`PubNub API`] response deserializer
882890 /// * API ket set to access [`PubNub API`].
883891 ///
@@ -1244,7 +1252,6 @@ where
12441252/// secret_key: Some("sec-c-abc123"),
12451253/// };
12461254/// ```
1247- ///
12481255#[ derive( Debug , Clone , PartialEq , Eq , PartialOrd , Ord ) ]
12491256pub struct Keyset < S >
12501257where
0 commit comments