Home
last modified time | relevance | path

Searched refs:StdResult (Results 1 – 3 of 3) sorted by relevance

/third_party/rust/crates/serde/test_suite/tests/
Dtest_gen.rs29 use std::result::Result as StdResult;
780 fn serialize_with<S: Serializer>(_: &Self, _: S) -> StdResult<S::Ok, S::Error>; in serialize_with()
784 fn deserialize_with<'de, D: Deserializer<'de>>(_: D) -> StdResult<Self, D::Error>; in deserialize_with()
790 pub fn ser_x<S: Serializer>(_: &X, _: S) -> StdResult<S::Ok, S::Error> { in ser_x()
794 pub fn de_x<'de, D: Deserializer<'de>>(_: D) -> StdResult<X, D::Error> { in de_x()
803 fn serialize_with<S: Serializer>(_: &Self, _: S) -> StdResult<S::Ok, S::Error> { in serialize_with()
809 fn deserialize_with<'de, D: Deserializer<'de>>(_: D) -> StdResult<Self, D::Error> { in deserialize_with()
814 pub fn serialize_some_unit_variant<S>(_: S) -> StdResult<S::Ok, S::Error> in serialize_some_unit_variant()
821 pub fn deserialize_some_unit_variant<'de, D>(_: D) -> StdResult<(), D::Error> in deserialize_some_unit_variant() argument
828 pub fn serialize_some_other_variant<S>(_: &str, _: &u8, _: S) -> StdResult<S::Ok, S::Error> in serialize_some_other_variant()
[all …]
/third_party/rust/crates/cxx/src/
Dresult.rs9 use core::result::Result as StdResult;
26 pub unsafe fn r#try<T, E>(ret: *mut T, result: StdResult<T, E>) -> Result
56 pub unsafe fn exception(self) -> StdResult<(), Exception> { in exception() argument
/third_party/rust/crates/clap/src/error/
Dmod.rs16 result::Result as StdResult,
52 pub type Result<T, E = Error> = StdResult<T, E>;