| 1 | //! Serde bencode deserialization. |
| 2 | |
| 3 | use craterust-analyzer cargo bendy 0.6.1 crate/::serderust-analyzer cargo bendy 0.6.1 serde/::commonrust-analyzer cargo bendy 0.6.1 serde/common/::*; |
| 4 | |
| 5 | /// Deserialize an instance of `T` from bencode |
| 6 | pub fn from_bytesrust-analyzer cargo bendy 0.6.1 serde/de/from_bytes().<'a, T>(s: &'a [u8]) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<T> |
| 7 | where |
| 8 | T: Deserializerust-analyzer cargo serde 1.0.140 de/Deserialize#<'a>, |
| 9 | { |
| 10 | Deserializerrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#::from_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]from_bytes().(s).deserializerust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]deserialize().() |
| 11 | } |
| 12 | |
| 13 | /// Bencode deserializer |
| 14 | pub struct Deserializerrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#<'de> { |
| 15 | forbid_trailing_bytesrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#forbid_trailing_bytes.: bool, |
| 16 | tokensrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#tokens.: Peekablerust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/adapters/peekable/Peekable#<Tokensrust-analyzer cargo bendy 0.6.1 decoding/decoder/Tokens#<'de>>, |
| 17 | } |
| 18 | |
| 19 | impl<'de> Deserializerrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#<'de> { |
| 20 | /// Create a new `Deserializer` with the give byte slice |
| 21 | pub fn from_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]from_bytes().(input: &'de [u8]) -> Selfrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`] { |
| 22 | Deserializerrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer# { |
| 23 | forbid_trailing_bytesrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#forbid_trailing_bytes.: false, |
| 24 | tokensrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#tokens.: Decoderrust-analyzer cargo bendy 0.6.1 decoding/decoder/Decoder#::newrust-analyzer cargo bendy 0.6.1 decoding/decoder/impl#[`Decoder<'ser>`]new().(input).tokensrust-analyzer cargo bendy 0.6.1 decoding/decoder/impl#[`Decoder<'ser>`]tokens().().peekablerust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/traits/iterator/Iterator#peekable().(), |
| 25 | } |
| 26 | } |
| 27 | |
| 28 | /// Return an error if trailing bytes remain after deserialization |
| 29 | pub fn with_forbid_trailing_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]with_forbid_trailing_bytes().(mut self, forbid_trailing_bytes: bool) -> Selfrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`] { |
| 30 | self.forbid_trailing_bytesrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#forbid_trailing_bytes. = forbid_trailing_bytes; |
| 31 | self |
| 32 | } |
| 33 | |
| 34 | /// Consume the deserializer, producing an instance of `T` |
| 35 | pub fn deserializerust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]deserialize().<T>(mut self) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<T, Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#> |
| 36 | where |
| 37 | T: Deserializerust-analyzer cargo serde 1.0.140 de/Deserialize#<'de>, |
| 38 | { |
| 39 | let t = T::deserializerust-analyzer cargo serde 1.0.140 de/Deserialize#deserialize().(&mut self)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 40 | |
| 41 | if self.forbid_trailing_bytesrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#forbid_trailing_bytes. && self.tokensrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#tokens..nextrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/adapters/peekable/impl#[`Peekable<I>`][Iterator]next().().is_somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]is_some().() { |
| 42 | return Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#::TrailingBytesrust-analyzer cargo bendy 0.6.1 serde/error/Error#TrailingBytes#); |
| 43 | } |
| 44 | |
| 45 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(t) |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | impl<'de> Deserializerrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#<'de> { |
| 50 | fn next_tokenrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_token().(&mut self) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#<'de>> { |
| 51 | match self.tokensrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#tokens..nextrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/adapters/peekable/impl#[`Peekable<I>`][Iterator]next().() { |
| 52 | Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(result) => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(result?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().), |
| 53 | Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None# => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#::Decoderust-analyzer cargo bendy 0.6.1 serde/error/Error#Decode#(StructureErrorrust-analyzer cargo bendy 0.6.1 state_tracker/structure_error/StructureError#::UnexpectedEofrust-analyzer cargo bendy 0.6.1 state_tracker/structure_error/StructureError#UnexpectedEof#.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().())), |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | fn next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().(&mut self) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<&'de str> { |
| 58 | match self.next_tokenrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_token().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 59 | Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Numrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#Num#(num) => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(num), |
| 60 | other => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(decodingrust-analyzer cargo bendy 0.6.1 decoding/::Errorrust-analyzer cargo bendy 0.6.1 decoding/error/Error#::unexpected_tokenrust-analyzer cargo bendy 0.6.1 decoding/error/impl#[Error]unexpected_token().("Num", other.namerust-analyzer cargo bendy 0.6.1 state_tracker/token/impl#[`Token<'a>`]name().()).intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().()), |
| 61 | } |
| 62 | } |
| 63 | |
| 64 | fn next_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_bytes().(&mut self) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<&'de [u8]> { |
| 65 | match self.next_tokenrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_token().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 66 | Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Stringrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#String#(bytes) => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(bytes), |
| 67 | other => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(decodingrust-analyzer cargo bendy 0.6.1 decoding/::Errorrust-analyzer cargo bendy 0.6.1 decoding/error/Error#::unexpected_tokenrust-analyzer cargo bendy 0.6.1 decoding/error/impl#[Error]unexpected_token().("String", other.namerust-analyzer cargo bendy 0.6.1 state_tracker/token/impl#[`Token<'a>`]name().()).intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().()), |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | fn next_stringrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_string().(&mut self) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<&'de str> { |
| 72 | let bytes = self.next_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_bytes().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 73 | let string = strrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc str/::from_utf8rust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/converts/from_utf8().(bytes)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 74 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(string) |
| 75 | } |
| 76 | |
| 77 | fn expect_list_beginrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_list_begin().(&mut self) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<()> { |
| 78 | match self.next_tokenrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_token().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 79 | Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Listrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#List# => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(()), |
| 80 | other => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(decodingrust-analyzer cargo bendy 0.6.1 decoding/::Errorrust-analyzer cargo bendy 0.6.1 decoding/error/Error#::unexpected_tokenrust-analyzer cargo bendy 0.6.1 decoding/error/impl#[Error]unexpected_token().("List", other.namerust-analyzer cargo bendy 0.6.1 state_tracker/token/impl#[`Token<'a>`]name().()).intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().()), |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | fn expect_dict_beginrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_dict_begin().(&mut self) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<()> { |
| 85 | match self.next_tokenrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_token().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 86 | Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Dictrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#Dict# => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(()), |
| 87 | other => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(decodingrust-analyzer cargo bendy 0.6.1 decoding/::Errorrust-analyzer cargo bendy 0.6.1 decoding/error/Error#::unexpected_tokenrust-analyzer cargo bendy 0.6.1 decoding/error/impl#[Error]unexpected_token().("Dict", other.namerust-analyzer cargo bendy 0.6.1 state_tracker/token/impl#[`Token<'a>`]name().()).intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().()), |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | fn expect_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_end().(&mut self) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<()> { |
| 92 | match self.next_tokenrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_token().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 93 | Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Endrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#End# => Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(()), |
| 94 | other => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(decodingrust-analyzer cargo bendy 0.6.1 decoding/::Errorrust-analyzer cargo bendy 0.6.1 decoding/error/Error#::unexpected_tokenrust-analyzer cargo bendy 0.6.1 decoding/error/impl#[Error]unexpected_token().("End", other.namerust-analyzer cargo bendy 0.6.1 state_tracker/token/impl#[`Token<'a>`]name().()).intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().()), |
| 95 | } |
| 96 | } |
| 97 | |
| 98 | fn expect_empty_listrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_empty_list().(&mut self) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<()> { |
| 99 | self.expect_list_beginrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_list_begin().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 100 | self.expect_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_end().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 101 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(()) |
| 102 | } |
| 103 | |
| 104 | fn peek_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]peek_end().(&mut self) -> bool { |
| 105 | self.peekrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]peek().() rust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`][`PartialEq<Self>`]eq().Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Endrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#End#) |
| 106 | } |
| 107 | |
| 108 | fn peekrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]peek().(&mut self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#<'de>> { |
| 109 | if let Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(token)) = self.tokensrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#tokens..peekrust-analyzer cargo core https://github.com/rust-lang/rust/library/core iter/adapters/peekable/impl#[`Peekable<I>`]peek().() { |
| 110 | Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(*rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&T`][Deref]deref().token) |
| 111 | } else { |
| 112 | Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None# |
| 113 | } |
| 114 | } |
| 115 | } |
| 116 | |
| 117 | impl<'de, 'a> serderust-analyzer cargo serde 1.0.140 crate/::derust-analyzer cargo serde 1.0.140 de/::Deserializerrust-analyzer cargo serde 1.0.140 de/Deserializer#<'de> for &'a mut Deserializerrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#<'de> { |
| 118 | type Errorrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]Error# = Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#; |
| 119 | |
| 120 | fn deserialize_anyrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_any().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 121 | where |
| 122 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 123 | { |
| 124 | match self.peekrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]peek().() { |
| 125 | Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Dictrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#Dict#) => self.deserialize_maprust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_map().(visitor), |
| 126 | Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Stringrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#String#(_)) => self.deserialize_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_bytes().(visitor), |
| 127 | Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Listrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#List#) => self.deserialize_seqrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_seq().(visitor), |
| 128 | Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Numrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#Num#(_)) => self.deserialize_i64rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_i64().(visitor), |
| 129 | Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Endrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#End#) => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#::Decoderust-analyzer cargo bendy 0.6.1 serde/error/Error#Decode#(StructureErrorrust-analyzer cargo bendy 0.6.1 state_tracker/structure_error/StructureError#::invalid_staterust-analyzer cargo bendy 0.6.1 state_tracker/structure_error/impl#[StructureError]invalid_state().("End").intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().())), |
| 130 | Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None# => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#::Decoderust-analyzer cargo bendy 0.6.1 serde/error/Error#Decode#(StructureErrorrust-analyzer cargo bendy 0.6.1 state_tracker/structure_error/StructureError#::UnexpectedEofrust-analyzer cargo bendy 0.6.1 state_tracker/structure_error/StructureError#UnexpectedEof#.intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/impl#[T][`Into<U>`]into().())), |
| 131 | } |
| 132 | } |
| 133 | |
| 134 | fn deserialize_boolrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_bool().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 135 | where |
| 136 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 137 | { |
| 138 | match self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch(). { |
| 139 | "0" => visitor.visit_boolrust-analyzer cargo serde 1.0.140 de/Visitor#visit_bool().(false), |
| 140 | "1" => visitor.visit_boolrust-analyzer cargo serde 1.0.140 de/Visitor#visit_bool().(true), |
| 141 | other => Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#::InvalidBoolrust-analyzer cargo bendy 0.6.1 serde/error/Error#InvalidBool#(other.to_ownedrust-analyzer cargo alloc https://github.com/rust-lang/rust/library/alloc str/impl#[str][ToOwned]to_owned().())), |
| 142 | } |
| 143 | } |
| 144 | |
| 145 | fn deserialize_i8rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_i8().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 146 | where |
| 147 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 148 | { |
| 149 | visitor.visit_i8rust-analyzer cargo serde 1.0.140 de/Visitor#visit_i8().(self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 150 | } |
| 151 | |
| 152 | fn deserialize_i16rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_i16().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 153 | where |
| 154 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 155 | { |
| 156 | visitor.visit_i16rust-analyzer cargo serde 1.0.140 de/Visitor#visit_i16().(self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 157 | } |
| 158 | |
| 159 | fn deserialize_i32rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_i32().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 160 | where |
| 161 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 162 | { |
| 163 | visitor.visit_i32rust-analyzer cargo serde 1.0.140 de/Visitor#visit_i32().(self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 164 | } |
| 165 | |
| 166 | fn deserialize_i64rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_i64().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 167 | where |
| 168 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 169 | { |
| 170 | visitor.visit_i64rust-analyzer cargo serde 1.0.140 de/Visitor#visit_i64().(self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 171 | } |
| 172 | |
| 173 | fn deserialize_i128rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_i128().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 174 | where |
| 175 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 176 | { |
| 177 | visitor.visit_i128rust-analyzer cargo serde 1.0.140 de/Visitor#visit_i128().(self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 178 | } |
| 179 | |
| 180 | fn deserialize_u8rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_u8().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 181 | where |
| 182 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 183 | { |
| 184 | visitor.visit_u8rust-analyzer cargo serde 1.0.140 de/Visitor#visit_u8().(self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 185 | } |
| 186 | |
| 187 | fn deserialize_u16rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_u16().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 188 | where |
| 189 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 190 | { |
| 191 | visitor.visit_u16rust-analyzer cargo serde 1.0.140 de/Visitor#visit_u16().(self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 192 | } |
| 193 | |
| 194 | fn deserialize_u32rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_u32().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 195 | where |
| 196 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 197 | { |
| 198 | visitor.visit_u32rust-analyzer cargo serde 1.0.140 de/Visitor#visit_u32().(self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 199 | } |
| 200 | |
| 201 | fn deserialize_u64rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_u64().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 202 | where |
| 203 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 204 | { |
| 205 | visitor.visit_u64rust-analyzer cargo serde 1.0.140 de/Visitor#visit_u64().(self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 206 | } |
| 207 | |
| 208 | fn deserialize_u128rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_u128().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 209 | where |
| 210 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 211 | { |
| 212 | visitor.visit_u128rust-analyzer cargo serde 1.0.140 de/Visitor#visit_u128().(self.next_integerrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_integer().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..parserust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]parse().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 213 | } |
| 214 | |
| 215 | fn deserialize_f32rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_f32().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 216 | where |
| 217 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 218 | { |
| 219 | let bytes = self.next_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_bytes().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 220 | let bits = u32::from_be_bytesrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u32]from_be_bytes().( |
| 221 | bytes |
| 222 | .try_intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryInto#try_into().() |
| 223 | .map_errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]map_err().(|_| Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#::InvalidF32rust-analyzer cargo bendy 0.6.1 serde/error/Error#InvalidF32#(bytes.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().()))?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/try_trait/Try#branch()., |
| 224 | ); |
| 225 | let value = f32::from_bitsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core f32/impl#[f32]from_bits().(bits); |
| 226 | visitor.visit_f32rust-analyzer cargo serde 1.0.140 de/Visitor#visit_f32().(value) |
| 227 | } |
| 228 | |
| 229 | fn deserialize_f64rust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_f64().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 230 | where |
| 231 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 232 | { |
| 233 | let bytes = self.next_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_bytes().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 234 | let bits = u64::from_be_bytesrust-analyzer cargo core https://github.com/rust-lang/rust/library/core num/impl#[u64]from_be_bytes().( |
| 235 | bytes |
| 236 | .try_intorust-analyzer cargo core https://github.com/rust-lang/rust/library/core convert/TryInto#try_into().() |
| 237 | .map_errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]map_err().(|_| Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#::InvalidF64rust-analyzer cargo bendy 0.6.1 serde/error/Error#InvalidF64#(bytes.lenrust-analyzer cargo core https://github.com/rust-lang/rust/library/core slice/impl#[`[T]`]len().()))?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/try_trait/Try#branch()., |
| 238 | ); |
| 239 | let value = f64::from_bitsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core f64/impl#[f64]from_bits().(bits); |
| 240 | visitor.visit_f64rust-analyzer cargo serde 1.0.140 de/Visitor#visit_f64().(value) |
| 241 | } |
| 242 | |
| 243 | fn deserialize_charrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_char().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 244 | where |
| 245 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 246 | { |
| 247 | let s: &str = self.next_stringrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_string().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 248 | let count = s.charsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]chars().().countrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/iter/impl#[`Chars<'a>`][Iterator]count().(); |
| 249 | if count rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialEq<Self>`]ne().!=rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialEq<Self>`]ne(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core cmp/impls/impl#[usize][`PartialEq<Self>`]ne().1 { |
| 250 | return Errrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Err#(Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#::InvalidCharrust-analyzer cargo bendy 0.6.1 serde/error/Error#InvalidChar#(count)); |
| 251 | } |
| 252 | visitor.visit_charrust-analyzer cargo serde 1.0.140 de/Visitor#visit_char().(s.charsrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/impl#[str]chars().().nextrust-analyzer cargo core https://github.com/rust-lang/rust/library/core str/iter/impl#[`Chars<'a>`][Iterator]next().().unwraprust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`]unwrap().()) |
| 253 | } |
| 254 | |
| 255 | fn deserialize_strrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_str().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 256 | where |
| 257 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 258 | { |
| 259 | visitor.visit_borrowed_strrust-analyzer cargo serde 1.0.140 de/Visitor#visit_borrowed_str().(self.next_stringrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_string().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 260 | } |
| 261 | |
| 262 | fn deserialize_stringrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_string().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 263 | where |
| 264 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 265 | { |
| 266 | self.deserialize_strrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_str().(visitor) |
| 267 | } |
| 268 | |
| 269 | fn deserialize_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_bytes().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 270 | where |
| 271 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 272 | { |
| 273 | visitor.visit_borrowed_bytesrust-analyzer cargo serde 1.0.140 de/Visitor#visit_borrowed_bytes().(self.next_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_bytes().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().) |
| 274 | } |
| 275 | |
| 276 | fn deserialize_byte_bufrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_byte_buf().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 277 | where |
| 278 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 279 | { |
| 280 | self.deserialize_bytesrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_bytes().(visitor) |
| 281 | } |
| 282 | |
| 283 | fn deserialize_optionrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_option().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 284 | where |
| 285 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 286 | { |
| 287 | self.expect_list_beginrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_list_begin().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 288 | let value = if self.peek_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]peek_end().() { |
| 289 | visitor.visit_nonerust-analyzer cargo serde 1.0.140 de/Visitor#visit_none().() |
| 290 | } else { |
| 291 | visitor.visit_somerust-analyzer cargo serde 1.0.140 de/Visitor#visit_some().(&mut *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&mut T`][Deref]deref().self) |
| 292 | }; |
| 293 | self.expect_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_end().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 294 | value |
| 295 | } |
| 296 | |
| 297 | fn deserialize_unitrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_unit().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 298 | where |
| 299 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 300 | { |
| 301 | self.expect_empty_listrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_empty_list().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 302 | visitor.visit_unitrust-analyzer cargo serde 1.0.140 de/Visitor#visit_unit().() |
| 303 | } |
| 304 | |
| 305 | fn deserialize_unit_structrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_unit_struct().<V>(self, _name: &'static str, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 306 | where |
| 307 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 308 | { |
| 309 | self.deserialize_unitrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_unit().(visitor) |
| 310 | } |
| 311 | |
| 312 | fn deserialize_newtype_structrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_newtype_struct().<V>(self, _name: &'static str, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 313 | where |
| 314 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 315 | { |
| 316 | visitor.visit_newtype_structrust-analyzer cargo serde 1.0.140 de/Visitor#visit_newtype_struct().(self) |
| 317 | } |
| 318 | |
| 319 | fn deserialize_seqrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_seq().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 320 | where |
| 321 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 322 | { |
| 323 | self.expect_list_beginrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_list_begin().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 324 | let value = visitor.visit_seqrust-analyzer cargo serde 1.0.140 de/Visitor#visit_seq().(&mut *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&mut T`][Deref]deref().self)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 325 | self.expect_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_end().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 326 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(value) |
| 327 | } |
| 328 | |
| 329 | fn deserialize_tuplerust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_tuple().<V>(self, _len: usize, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 330 | where |
| 331 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 332 | { |
| 333 | self.deserialize_seqrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_seq().(visitor) |
| 334 | } |
| 335 | |
| 336 | fn deserialize_tuple_structrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_tuple_struct().<V>( |
| 337 | self, |
| 338 | _name: &'static str, |
| 339 | _len: usize, |
| 340 | visitor: V, |
| 341 | ) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 342 | where |
| 343 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 344 | { |
| 345 | self.deserialize_seqrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_seq().(visitor) |
| 346 | } |
| 347 | |
| 348 | fn deserialize_maprust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_map().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 349 | where |
| 350 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 351 | { |
| 352 | self.expect_dict_beginrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_dict_begin().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 353 | let value = visitor.visit_maprust-analyzer cargo serde 1.0.140 de/Visitor#visit_map().(&mut *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&mut T`][Deref]deref().self)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 354 | self.expect_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_end().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 355 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(value) |
| 356 | } |
| 357 | |
| 358 | fn deserialize_structrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_struct().<V>( |
| 359 | self, |
| 360 | _name: &'static str, |
| 361 | _fields: &'static [&'static str], |
| 362 | visitor: V, |
| 363 | ) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 364 | where |
| 365 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 366 | { |
| 367 | self.expect_dict_beginrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_dict_begin().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 368 | let value = visitor.visit_maprust-analyzer cargo serde 1.0.140 de/Visitor#visit_map().(&mut *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&mut T`][Deref]deref().self)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 369 | self.expect_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_end().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 370 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(value) |
| 371 | } |
| 372 | |
| 373 | fn deserialize_enumrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_enum().<V>( |
| 374 | self, |
| 375 | _name: &'static str, |
| 376 | _variants: &'static [&'static str], |
| 377 | visitor: V, |
| 378 | ) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 379 | where |
| 380 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 381 | { |
| 382 | if self.peekrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]peek().() rust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`][`PartialEq<Self>`]eq().==rust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`][`PartialEq<Self>`]eq(). rust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/impl#[`Option<T>`][`PartialEq<Self>`]eq().Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(Tokenrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#::Dictrust-analyzer cargo bendy 0.6.1 state_tracker/token/Token#Dict#) { |
| 383 | self.expect_dict_beginrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_dict_begin().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 384 | visitor.visit_enumrust-analyzer cargo serde 1.0.140 de/Visitor#visit_enum().(self) |
| 385 | } else { |
| 386 | visitor.visit_enumrust-analyzer cargo serde 1.0.140 de/Visitor#visit_enum().(self.next_stringrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]next_string().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()..into_deserializerrust-analyzer cargo serde 1.0.140 de/value/impl#[`&'a str`][`IntoDeserializer<'de, E>`]into_deserializer().()) |
| 387 | } |
| 388 | } |
| 389 | |
| 390 | fn deserialize_identifierrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_identifier().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 391 | where |
| 392 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 393 | { |
| 394 | self.deserialize_strrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_str().(visitor) |
| 395 | } |
| 396 | |
| 397 | fn deserialize_ignored_anyrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_ignored_any().<V>(self, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 398 | where |
| 399 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 400 | { |
| 401 | self.deserialize_anyrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_any().(visitor) |
| 402 | } |
| 403 | } |
| 404 | |
| 405 | impl<'de> SeqAccessrust-analyzer cargo serde 1.0.140 de/SeqAccess#<'de> for Deserializerrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#<'de> { |
| 406 | type Errorrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`][`SeqAccess<'de>`]Error# = Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#; |
| 407 | |
| 408 | fn next_element_seedrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`][`SeqAccess<'de>`]next_element_seed().<T>(&mut self, seed: T) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<T::Valuerust-analyzer cargo serde 1.0.140 de/DeserializeSeed#Value#>> |
| 409 | where |
| 410 | T: DeserializeSeedrust-analyzer cargo serde 1.0.140 de/DeserializeSeed#<'de>, |
| 411 | { |
| 412 | if self.peek_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]peek_end().() { |
| 413 | return Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#); |
| 414 | } |
| 415 | seed.deserializerust-analyzer cargo serde 1.0.140 de/DeserializeSeed#deserialize().(self).maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]map().(Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#) |
| 416 | } |
| 417 | } |
| 418 | |
| 419 | impl<'de> MapAccessrust-analyzer cargo serde 1.0.140 de/MapAccess#<'de> for Deserializerrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#<'de> { |
| 420 | type Errorrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`][`MapAccess<'de>`]Error# = Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#; |
| 421 | |
| 422 | fn next_key_seedrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`][`MapAccess<'de>`]next_key_seed().<K>(&mut self, seed: K) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<K::Valuerust-analyzer cargo serde 1.0.140 de/DeserializeSeed#Value#>> |
| 423 | where |
| 424 | K: DeserializeSeedrust-analyzer cargo serde 1.0.140 de/DeserializeSeed#<'de>, |
| 425 | { |
| 426 | if self.peek_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]peek_end().() { |
| 427 | return Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#); |
| 428 | } |
| 429 | seed.deserializerust-analyzer cargo serde 1.0.140 de/DeserializeSeed#deserialize().(self).maprust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`]map().(Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#) |
| 430 | } |
| 431 | |
| 432 | fn next_value_seedrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`][`MapAccess<'de>`]next_value_seed().<V>(&mut self, seed: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/DeserializeSeed#Value#> |
| 433 | where |
| 434 | V: DeserializeSeedrust-analyzer cargo serde 1.0.140 de/DeserializeSeed#<'de>, |
| 435 | { |
| 436 | seed.deserializerust-analyzer cargo serde 1.0.140 de/DeserializeSeed#deserialize().(self) |
| 437 | } |
| 438 | } |
| 439 | |
| 440 | impl<'de> EnumAccessrust-analyzer cargo serde 1.0.140 de/EnumAccess#<'de> for &mut Deserializerrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#<'de> { |
| 441 | type Errorrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&mut Deserializer<'de>`][`EnumAccess<'de>`]Error# = Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#; |
| 442 | type Variantrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&mut Deserializer<'de>`][`EnumAccess<'de>`]Variant# = Selfrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&mut Deserializer<'de>`][`EnumAccess<'de>`]; |
| 443 | |
| 444 | fn variant_seedrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&mut Deserializer<'de>`][`EnumAccess<'de>`]variant_seed().<V>(self, seed: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<(V::Valuerust-analyzer cargo serde 1.0.140 de/DeserializeSeed#Value#, Selfrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&mut Deserializer<'de>`][`EnumAccess<'de>`])> |
| 445 | where |
| 446 | V: DeserializeSeedrust-analyzer cargo serde 1.0.140 de/DeserializeSeed#<'de>, |
| 447 | { |
| 448 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#((seed.deserializerust-analyzer cargo serde 1.0.140 de/DeserializeSeed#deserialize().(&mut *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&mut T`][Deref]deref().self)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch()., self)) |
| 449 | } |
| 450 | } |
| 451 | |
| 452 | impl<'de> VariantAccessrust-analyzer cargo serde 1.0.140 de/VariantAccess#<'de> for &mut Deserializerrust-analyzer cargo bendy 0.6.1 serde/de/Deserializer#<'de> { |
| 453 | type Errorrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&mut Deserializer<'de>`][`VariantAccess<'de>`]Error# = Errorrust-analyzer cargo bendy 0.6.1 serde/error/Error#; |
| 454 | |
| 455 | fn unit_variantrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&mut Deserializer<'de>`][`VariantAccess<'de>`]unit_variant().(self) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<()> { |
| 456 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(()) |
| 457 | } |
| 458 | |
| 459 | fn newtype_variant_seedrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&mut Deserializer<'de>`][`VariantAccess<'de>`]newtype_variant_seed().<T>(self, seed: T) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<T::Valuerust-analyzer cargo serde 1.0.140 de/DeserializeSeed#Value#> |
| 460 | where |
| 461 | T: DeserializeSeedrust-analyzer cargo serde 1.0.140 de/DeserializeSeed#<'de>, |
| 462 | { |
| 463 | let value = seed.deserializerust-analyzer cargo serde 1.0.140 de/DeserializeSeed#deserialize().(&mut *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&mut T`][Deref]deref().self)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 464 | self.expect_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_end().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 465 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(value) |
| 466 | } |
| 467 | |
| 468 | fn tuple_variantrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&mut Deserializer<'de>`][`VariantAccess<'de>`]tuple_variant().<V>(self, _len: usize, visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 469 | where |
| 470 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 471 | { |
| 472 | let value = serderust-analyzer cargo serde 1.0.140 crate/::derust-analyzer cargo serde 1.0.140 de/::Deserializerrust-analyzer cargo serde 1.0.140 de/Deserializer#::deserialize_seqrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_seq().(&mut *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&mut T`][Deref]deref().self, visitor)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 473 | self.expect_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_end().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 474 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(value) |
| 475 | } |
| 476 | |
| 477 | fn struct_variantrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&mut Deserializer<'de>`][`VariantAccess<'de>`]struct_variant().<V>(self, _fields: &'static [&'static str], visitor: V) -> Resultrust-analyzer cargo bendy 0.6.1 serde/error/Result#<V::Valuerust-analyzer cargo serde 1.0.140 de/Visitor#Value#> |
| 478 | where |
| 479 | V: Visitorrust-analyzer cargo serde 1.0.140 de/Visitor#<'de>, |
| 480 | { |
| 481 | let value = serderust-analyzer cargo serde 1.0.140 crate/::derust-analyzer cargo serde 1.0.140 de/::Deserializerrust-analyzer cargo serde 1.0.140 de/Deserializer#::deserialize_maprust-analyzer cargo bendy 0.6.1 serde/de/impl#[`&'a mut Deserializer<'de>`][`Deserializer<'de>`]deserialize_map().(&mut *rust-analyzer cargo core https://github.com/rust-lang/rust/library/core ops/deref/impl#[`&mut T`][Deref]deref().self, visitor)?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 482 | self.expect_endrust-analyzer cargo bendy 0.6.1 serde/de/impl#[`Deserializer<'de>`]expect_end().()?rust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/impl#[`Result<T, E>`][Try]branch().; |
| 483 | Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(value) |
| 484 | } |
| 485 | } |