Struct protobuf::types::ProtobufTypeBytes [−][src]
pub struct ProtobufTypeBytes;
bytes
Trait Implementations
impl ProtobufType for ProtobufTypeBytes
[src]
impl ProtobufType for ProtobufTypeBytes
[src]type Value = Vec<u8>
Rust type of value
fn wire_type() -> WireType
[src]
fn read(is: &mut CodedInputStream<'_>) -> ProtobufResult<Vec<u8>>
[src]
fn get_from_unknown(unknown_values: &UnknownValues) -> Option<Vec<u8>>
[src]
fn compute_size(value: &Vec<u8>) -> u32
[src]
fn write_with_cached_size(
field_number: u32,
value: &Vec<u8>,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
[src]
field_number: u32,
value: &Vec<u8>,
os: &mut CodedOutputStream<'_>
) -> ProtobufResult<()>
fn compute_size_with_length_delimiter(value: &Self::Value) -> u32
[src]
fn get_cached_size(value: &Self::Value) -> u32
[src]
fn get_cached_size_with_length_delimiter(value: &Self::Value) -> u32
[src]
Auto Trait Implementations
impl RefUnwindSafe for ProtobufTypeBytes
impl RefUnwindSafe for ProtobufTypeBytes
impl Send for ProtobufTypeBytes
impl Send for ProtobufTypeBytes
impl Sync for ProtobufTypeBytes
impl Sync for ProtobufTypeBytes
impl Unpin for ProtobufTypeBytes
impl Unpin for ProtobufTypeBytes
impl UnwindSafe for ProtobufTypeBytes
impl UnwindSafe for ProtobufTypeBytes