[−][src]Struct fbthrift_git::compact_protocol::CompactProtocolSerializer
Implementations
impl<B> CompactProtocolSerializer<B> where
B: BufMutExt,
[src]
B: BufMutExt,
pub fn with_buffer(buffer: B) -> Self
[src]
pub fn into_inner(self) -> B
[src]
Trait Implementations
impl<B: BufMutExt> ProtocolWriter for CompactProtocolSerializer<B>
[src]
type Final = B::Final
fn write_message_begin(&mut self, name: &str, msgtype: MessageType, seqid: u32)
[src]
fn write_message_end(&mut self)
[src]
fn write_struct_begin(&mut self, _name: &str)
[src]
fn write_struct_end(&mut self)
[src]
fn write_field_begin(&mut self, _name: &str, type_id: TType, id: i16)
[src]
fn write_field_end(&mut self)
[src]
fn write_field_stop(&mut self)
[src]
fn write_map_begin(&mut self, key_type: TType, value_type: TType, size: usize)
[src]
fn write_map_key_begin(&mut self)
[src]
fn write_map_value_begin(&mut self)
[src]
fn write_map_end(&mut self)
[src]
fn write_list_begin(&mut self, elem_type: TType, size: usize)
[src]
fn write_list_value_begin(&mut self)
[src]
fn write_list_end(&mut self)
[src]
fn write_set_begin(&mut self, elem_type: TType, size: usize)
[src]
fn write_set_value_begin(&mut self)
[src]
fn write_set_end(&mut self)
[src]
fn write_bool(&mut self, value: bool)
[src]
fn write_byte(&mut self, value: i8)
[src]
fn write_i16(&mut self, value: i16)
[src]
fn write_i32(&mut self, value: i32)
[src]
fn write_i64(&mut self, value: i64)
[src]
fn write_double(&mut self, value: f64)
[src]
fn write_float(&mut self, value: f32)
[src]
fn write_string(&mut self, value: &str)
[src]
fn write_binary(&mut self, value: &[u8])
[src]
fn finish(self) -> B::Final
[src]
Auto Trait Implementations
impl<B> RefUnwindSafe for CompactProtocolSerializer<B> where
B: RefUnwindSafe,
B: RefUnwindSafe,
impl<B> Send for CompactProtocolSerializer<B> where
B: Send,
B: Send,
impl<B> Sync for CompactProtocolSerializer<B> where
B: Sync,
B: Sync,
impl<B> Unpin for CompactProtocolSerializer<B> where
B: Unpin,
B: Unpin,
impl<B> UnwindSafe for CompactProtocolSerializer<B> where
B: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,