Lines Matching refs:Result
4 type Result<T> = std::result::Result<T, util::Error>; typedef
62 fn marshal_to(&self, mut buf: &mut [u8]) -> Result<usize> { in marshal_to()
88 fn unmarshal<B>(buf: &mut B) -> Result<Self> in unmarshal()
164 fn marshal_to(&self, mut buf: &mut [u8]) -> Result<usize> { in marshal_to()
187 fn unmarshal<B>(buf: &mut B) -> Result<Self> in unmarshal()
237 fn test_channel_type_unmarshal_success() -> Result<()> { in test_channel_type_unmarshal_success()
246 fn test_channel_type_unmarshal_invalid() -> Result<()> { in test_channel_type_unmarshal_invalid()
264 fn test_channel_type_unmarshal_unexpected_end_of_buffer() -> Result<()> { in test_channel_type_unmarshal_unexpected_end_of_buffer()
286 fn test_channel_type_marshal_size() -> Result<()> { in test_channel_type_marshal_size()
295 fn test_channel_type_marshal() -> Result<()> { in test_channel_type_marshal()
318 fn test_channel_open_unmarshal_success() -> Result<()> { in test_channel_open_unmarshal_success()
332 fn test_channel_open_unmarshal_invalid_channel_type() -> Result<()> { in test_channel_open_unmarshal_invalid_channel_type()
356 fn test_channel_open_unmarshal_unexpected_end_of_buffer() -> Result<()> { in test_channel_open_unmarshal_unexpected_end_of_buffer()
378 fn test_channel_open_unmarshal_unexpected_length_mismatch() -> Result<()> { in test_channel_open_unmarshal_unexpected_length_mismatch()
406 fn test_channel_open_marshal_size() -> Result<()> { in test_channel_open_marshal_size()
422 fn test_channel_open_marshal() -> Result<()> { in test_channel_open_marshal()