File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/cipherstash-proxy/src/postgresql/messages/authentication Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ pub struct PasswordMessage {
4747
4848impl Authentication {
4949 pub fn is_ok ( & self ) -> bool {
50- matches ! ( self . method, AuthenticationMethod :: AuthenticationOk { .. } )
50+ matches ! ( self . method, AuthenticationMethod :: AuthenticationOk )
5151 }
5252
5353 pub fn is_sasl ( & self ) -> bool {
@@ -305,8 +305,8 @@ impl Display for SaslMechanism {
305305impl From < & AuthenticationMethod > for i32 {
306306 fn from ( method : & AuthenticationMethod ) -> Self {
307307 match method {
308- AuthenticationMethod :: AuthenticationOk { .. } => 0 ,
309- AuthenticationMethod :: AuthenticationCleartextPassword { .. } => 3 ,
308+ AuthenticationMethod :: AuthenticationOk => 0 ,
309+ AuthenticationMethod :: AuthenticationCleartextPassword => 3 ,
310310 AuthenticationMethod :: Md5Password { .. } => 5 ,
311311 AuthenticationMethod :: Sasl { .. } => 10 ,
312312 AuthenticationMethod :: AuthenticationSASLContinue { .. } => 11 ,
You can’t perform that action at this time.
0 commit comments