• Home
  • Raw
  • Download

Lines Matching refs:ProtobufResult

9 use crate::ProtobufResult;
22 fn with_coded_output_stream<T, F>(self, cb: F) -> ProtobufResult<T> in with_coded_output_stream()
24 F: FnOnce(&mut CodedOutputStream) -> ProtobufResult<T>; in with_coded_output_stream()
28 fn with_coded_output_stream<T, F>(self, cb: F) -> ProtobufResult<T> in with_coded_output_stream()
30 F: FnOnce(&mut CodedOutputStream) -> ProtobufResult<T>, in with_coded_output_stream()
40 fn with_coded_output_stream<T, F>(mut self, cb: F) -> ProtobufResult<T> in with_coded_output_stream()
42 F: FnOnce(&mut CodedOutputStream) -> ProtobufResult<T>, in with_coded_output_stream()
52 pub fn with_coded_output_stream_to_bytes<F>(cb: F) -> ProtobufResult<Vec<u8>> in with_coded_output_stream_to_bytes()
54 F: FnOnce(&mut CodedOutputStream) -> ProtobufResult<()>, in with_coded_output_stream_to_bytes() argument
136 fn refresh_buffer(&mut self) -> ProtobufResult<()> { in refresh_buffer() argument
158 pub fn flush(&mut self) -> ProtobufResult<()> { in flush() argument
169 pub fn write_raw_byte(&mut self, byte: u8) -> ProtobufResult<()> { in write_raw_byte() argument
179 pub fn write_raw_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()> { in write_raw_bytes() argument
220 ) -> ProtobufResult<()> { in write_tag() argument
225 pub fn write_raw_varint32(&mut self, value: u32) -> ProtobufResult<()> { in write_raw_varint32() argument
240 pub fn write_raw_varint64(&mut self, value: u64) -> ProtobufResult<()> { in write_raw_varint64() argument
255 pub fn write_raw_little_endian32(&mut self, value: u32) -> ProtobufResult<()> { in write_raw_little_endian32() argument
261 pub fn write_raw_little_endian64(&mut self, value: u64) -> ProtobufResult<()> { in write_raw_little_endian64() argument
267 pub fn write_float_no_tag(&mut self, value: f32) -> ProtobufResult<()> { in write_float_no_tag() argument
273 pub fn write_double_no_tag(&mut self, value: f64) -> ProtobufResult<()> { in write_double_no_tag() argument
279 pub fn write_float(&mut self, field_number: u32, value: f32) -> ProtobufResult<()> { in write_float() argument
286 pub fn write_double(&mut self, field_number: u32, value: f64) -> ProtobufResult<()> { in write_double() argument
293 pub fn write_uint64_no_tag(&mut self, value: u64) -> ProtobufResult<()> { in write_uint64_no_tag() argument
298 pub fn write_uint32_no_tag(&mut self, value: u32) -> ProtobufResult<()> { in write_uint32_no_tag() argument
303 pub fn write_int64_no_tag(&mut self, value: i64) -> ProtobufResult<()> { in write_int64_no_tag() argument
308 pub fn write_int32_no_tag(&mut self, value: i32) -> ProtobufResult<()> { in write_int32_no_tag() argument
313 pub fn write_sint64_no_tag(&mut self, value: i64) -> ProtobufResult<()> { in write_sint64_no_tag() argument
318 pub fn write_sint32_no_tag(&mut self, value: i32) -> ProtobufResult<()> { in write_sint32_no_tag() argument
323 pub fn write_fixed64_no_tag(&mut self, value: u64) -> ProtobufResult<()> { in write_fixed64_no_tag() argument
328 pub fn write_fixed32_no_tag(&mut self, value: u32) -> ProtobufResult<()> { in write_fixed32_no_tag() argument
333 pub fn write_sfixed64_no_tag(&mut self, value: i64) -> ProtobufResult<()> { in write_sfixed64_no_tag() argument
338 pub fn write_sfixed32_no_tag(&mut self, value: i32) -> ProtobufResult<()> { in write_sfixed32_no_tag() argument
343 pub fn write_bool_no_tag(&mut self, value: bool) -> ProtobufResult<()> { in write_bool_no_tag() argument
348 pub fn write_enum_no_tag(&mut self, value: i32) -> ProtobufResult<()> { in write_enum_no_tag() argument
353 pub fn write_enum_obj_no_tag<E>(&mut self, value: E) -> ProtobufResult<()> in write_enum_obj_no_tag()
361 pub fn write_unknown_no_tag(&mut self, unknown: UnknownValueRef) -> ProtobufResult<()> { in write_unknown_no_tag() argument
371 pub fn write_uint64(&mut self, field_number: u32, value: u64) -> ProtobufResult<()> { in write_uint64() argument
378 pub fn write_uint32(&mut self, field_number: u32, value: u32) -> ProtobufResult<()> { in write_uint32() argument
385 pub fn write_int64(&mut self, field_number: u32, value: i64) -> ProtobufResult<()> { in write_int64() argument
392 pub fn write_int32(&mut self, field_number: u32, value: i32) -> ProtobufResult<()> { in write_int32() argument
399 pub fn write_sint64(&mut self, field_number: u32, value: i64) -> ProtobufResult<()> { in write_sint64() argument
406 pub fn write_sint32(&mut self, field_number: u32, value: i32) -> ProtobufResult<()> { in write_sint32() argument
413 pub fn write_fixed64(&mut self, field_number: u32, value: u64) -> ProtobufResult<()> { in write_fixed64() argument
420 pub fn write_fixed32(&mut self, field_number: u32, value: u32) -> ProtobufResult<()> { in write_fixed32() argument
427 pub fn write_sfixed64(&mut self, field_number: u32, value: i64) -> ProtobufResult<()> { in write_sfixed64() argument
434 pub fn write_sfixed32(&mut self, field_number: u32, value: i32) -> ProtobufResult<()> { in write_sfixed32() argument
441 pub fn write_bool(&mut self, field_number: u32, value: bool) -> ProtobufResult<()> { in write_bool() argument
448 pub fn write_enum(&mut self, field_number: u32, value: i32) -> ProtobufResult<()> { in write_enum() argument
455 pub fn write_enum_obj<E>(&mut self, field_number: u32, value: E) -> ProtobufResult<()> in write_enum_obj()
467 ) -> ProtobufResult<()> { in write_unknown() argument
474 pub fn write_unknown_fields(&mut self, fields: &UnknownFields) -> ProtobufResult<()> { in write_unknown_fields() argument
484 pub fn write_bytes_no_tag(&mut self, bytes: &[u8]) -> ProtobufResult<()> { in write_bytes_no_tag() argument
491 pub fn write_string_no_tag(&mut self, s: &str) -> ProtobufResult<()> { in write_string_no_tag() argument
496 pub fn write_message_no_tag<M: Message>(&mut self, msg: &M) -> ProtobufResult<()> { in write_message_no_tag() argument
501 pub fn write_bytes(&mut self, field_number: u32, bytes: &[u8]) -> ProtobufResult<()> { in write_bytes() argument
508 pub fn write_string(&mut self, field_number: u32, s: &str) -> ProtobufResult<()> { in write_string() argument
515 pub fn write_message<M: Message>(&mut self, field_number: u32, msg: &M) -> ProtobufResult<()> { in write_message() argument
539 use crate::ProtobufResult;
545 F: FnMut(&mut CodedOutputStream) -> ProtobufResult<()>, in test_write() argument