Struct protobuf::stream::CodedOutputStream
[−]
[src]
pub struct CodedOutputStream<'a> { /* fields omitted */ }
Methods
impl<'a> CodedOutputStream<'a>
[src]
fn new(writer: &'a mut Write) -> CodedOutputStream<'a>
fn flush(&mut self) -> ProtobufResult<()>
fn write_raw_byte(&mut self, byte: u8) -> ProtobufResult<()>
fn write_raw_bytes(&mut self, bytes: &[u8]) -> ProtobufResult<()>
fn write_tag(&mut self,
field_number: u32,
wire_type: WireType)
-> ProtobufResult<()>
field_number: u32,
wire_type: WireType)
-> ProtobufResult<()>
fn write_raw_varint32(&mut self, value: u32) -> ProtobufResult<()>
fn write_raw_varint64(&mut self, value: u64) -> ProtobufResult<()>
fn write_raw_little_endian32(&mut self, value: u32) -> ProtobufResult<()>
fn write_raw_little_endian64(&mut self, value: u64) -> ProtobufResult<()>
fn write_float_no_tag(&mut self, value: f32) -> ProtobufResult<()>
fn write_double_no_tag(&mut self, value: f64) -> ProtobufResult<()>
fn write_float(&mut self, field_number: u32, value: f32) -> ProtobufResult<()>
fn write_double(&mut self, field_number: u32, value: f64) -> ProtobufResult<()>
fn write_uint64_no_tag(&mut self, value: u64) -> ProtobufResult<()>
fn write_uint32_no_tag(&mut self, value: u32) -> ProtobufResult<()>
fn write_int64_no_tag(&mut self, value: i64) -> ProtobufResult<()>
fn write_int32_no_tag(&mut self, value: i32) -> ProtobufResult<()>
fn write_sint64_no_tag(&mut self, value: i64) -> ProtobufResult<()>
fn write_sint32_no_tag(&mut self, value: i32) -> ProtobufResult<()>
fn write_fixed64_no_tag(&mut self, value: u64) -> ProtobufResult<()>
fn write_fixed32_no_tag(&mut self, value: u32) -> ProtobufResult<()>
fn write_sfixed64_no_tag(&mut self, value: i64) -> ProtobufResult<()>
fn write_sfixed32_no_tag(&mut self, value: i32) -> ProtobufResult<()>
fn write_bool_no_tag(&mut self, value: bool) -> ProtobufResult<()>
fn write_enum_no_tag(&mut self, value: i32) -> ProtobufResult<()>
fn write_enum_obj_no_tag<E>(&mut self, value: E) -> ProtobufResult<()> where E: ProtobufEnum
fn write_unknown_no_tag(&mut self,
unknown: UnknownValueRef)
-> ProtobufResult<()>
unknown: UnknownValueRef)
-> ProtobufResult<()>
fn write_uint64(&mut self, field_number: u32, value: u64) -> ProtobufResult<()>
fn write_uint32(&mut self, field_number: u32, value: u32) -> ProtobufResult<()>
fn write_int64(&mut self, field_number: u32, value: i64) -> ProtobufResult<()>
fn write_int32(&mut self, field_number: u32, value: i32) -> ProtobufResult<()>
fn write_sint64(&mut self, field_number: u32, value: i64) -> ProtobufResult<()>
fn write_sint32(&mut self, field_number: u32, value: i32) -> ProtobufResult<()>
fn write_fixed64(&mut self, field_number: u32, value: u64) -> ProtobufResult<()>
fn write_fixed32(&mut self, field_number: u32, value: u32) -> ProtobufResult<()>
fn write_sfixed64(&mut self,
field_number: u32,
value: i64)
-> ProtobufResult<()>
field_number: u32,
value: i64)
-> ProtobufResult<()>
fn write_sfixed32(&mut self,
field_number: u32,
value: i32)
-> ProtobufResult<()>
field_number: u32,
value: i32)
-> ProtobufResult<()>
fn write_bool(&mut self, field_number: u32, value: bool) -> ProtobufResult<()>
fn write_enum(&mut self, field_number: u32, value: i32) -> ProtobufResult<()>
fn write_enum_obj<E>(&mut self,
field_number: u32,
value: E)
-> ProtobufResult<()> where E: ProtobufEnum
field_number: u32,
value: E)
-> ProtobufResult<()> where E: ProtobufEnum
fn write_unknown(&mut self,
field_number: u32,
value: UnknownValueRef)
-> ProtobufResult<()>
field_number: u32,
value: UnknownValueRef)
-> ProtobufResult<()>
fn write_unknown_fields(&mut self, fields: &UnknownFields) -> ProtobufResult<()>
fn write_bytes_no_tag(&mut self, bytes: &[u8]) -> ProtobufResult<()>
fn write_string_no_tag(&mut self, s: &str) -> ProtobufResult<()>
fn write_message_no_tag<M: Message>(&mut self, msg: &M) -> ProtobufResult<()>
fn write_bytes(&mut self, field_number: u32, bytes: &[u8]) -> ProtobufResult<()>
fn write_string(&mut self, field_number: u32, s: &str) -> ProtobufResult<()>
fn write_message<M: Message>(&mut self,
field_number: u32,
msg: &M)
-> ProtobufResult<()>
field_number: u32,
msg: &M)
-> ProtobufResult<()>