@@ -144,20 +144,20 @@ impl<'a> SenderBuilder<'a> {
144144 }
145145}
146146
147- pub trait SenderState { }
147+ pub trait State { }
148148
149149#[ derive( Debug , Clone , PartialEq , Eq , Serialize , Deserialize ) ]
150- pub struct Sender < State : SenderState > {
150+ pub struct Sender < State > {
151151 pub ( crate ) state : State ,
152152}
153153
154- impl < State : SenderState > core:: ops:: Deref for Sender < State > {
154+ impl < State > core:: ops:: Deref for Sender < State > {
155155 type Target = State ;
156156
157157 fn deref ( & self ) -> & Self :: Target { & self . state }
158158}
159159
160- impl < State : SenderState > core:: ops:: DerefMut for Sender < State > {
160+ impl < State > core:: ops:: DerefMut for Sender < State > {
161161 fn deref_mut ( & mut self ) -> & mut Self :: Target { & mut self . state }
162162}
163163
@@ -201,7 +201,7 @@ pub struct WithReplyKey {
201201 pub ( crate ) reply_key : HpkeSecretKey ,
202202}
203203
204- impl SenderState for WithReplyKey { }
204+ impl State for WithReplyKey { }
205205
206206impl Sender < WithReplyKey > {
207207 /// Extract serialized V1 Request and Context from a Payjoin Proposal
@@ -381,7 +381,7 @@ pub struct V2GetContext {
381381 pub ( crate ) hpke_ctx : HpkeContext ,
382382}
383383
384- impl SenderState for V2GetContext { }
384+ impl State for V2GetContext { }
385385
386386impl Sender < V2GetContext > {
387387 /// Extract an OHTTP Encapsulated HTTP GET request for the Proposal PSBT
0 commit comments