You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
+
* SPDX-License-Identifier: Apache-2.0
4
+
*/
5
+
6
+
usesuper::*;
7
+
use serde::de::Visitor;
8
+
use serde::Deserialize;
9
+
structDateTimeVisitor;
10
+
11
+
enumVisitorState{
12
+
Second,
13
+
SubsecondNanos,
14
+
Unexpected,
15
+
}
16
+
17
+
implVisitorState{
18
+
constUNEXPECTED_VISITOR_STATE:&'staticstr = "Unexpected state. This happens when visitor tries to parse something after finished parsing the `subsec_nanos`.";
0 commit comments