Lines Matching refs:AuthGraphOperationCode
122 pub enum AuthGraphOperationCode { enum
138 fn code(&self) -> AuthGraphOperationCode { in code() argument
140 Self::Create(_) => AuthGraphOperationCode::Create, in code()
141 Self::Init(_) => AuthGraphOperationCode::Init, in code()
142 Self::Finish(_) => AuthGraphOperationCode::Finish, in code()
143 Self::AuthenticationComplete(_) => AuthGraphOperationCode::AuthenticationComplete, in code()
156 let code = AuthGraphOperationCode::n(code).ok_or(CborError::NonEnumValue)?; in from_cbor_value()
158 AuthGraphOperationCode::Create => Self::Create(CreateRequest::from_cbor_value(val)?), in from_cbor_value()
159 AuthGraphOperationCode::Init => Self::Init(InitRequest::from_cbor_value(val)?), in from_cbor_value()
160 AuthGraphOperationCode::Finish => Self::Finish(FinishRequest::from_cbor_value(val)?), in from_cbor_value()
161 AuthGraphOperationCode::AuthenticationComplete => { in from_cbor_value()
185 fn code(&self) -> AuthGraphOperationCode { in code() argument
187 Self::Create(_) => AuthGraphOperationCode::Create, in code()
188 Self::Init(_) => AuthGraphOperationCode::Init, in code()
189 Self::Finish(_) => AuthGraphOperationCode::Finish, in code()
190 Self::AuthenticationComplete(_) => AuthGraphOperationCode::AuthenticationComplete, in code()
203 let code = AuthGraphOperationCode::n(code).ok_or(CborError::NonEnumValue)?; in from_cbor_value()
205 AuthGraphOperationCode::Create => Self::Create(CreateResponse::from_cbor_value(val)?), in from_cbor_value()
206 AuthGraphOperationCode::Init => Self::Init(InitResponse::from_cbor_value(val)?), in from_cbor_value()
207 AuthGraphOperationCode::Finish => Self::Finish(FinishResponse::from_cbor_value(val)?), in from_cbor_value()
208 AuthGraphOperationCode::AuthenticationComplete => { in from_cbor_value()
270 fn code(&self) -> AuthGraphOperationCode; in code() argument
281 fn code(&self) -> AuthGraphOperationCode {
282 AuthGraphOperationCode::$code