pub struct MessageBuilder<'a: 'b, 'b> { /* private fields */ }
Implementations§
Source§impl<'a: 'b, 'b> MessageBuilder<'a, 'b>
impl<'a: 'b, 'b> MessageBuilder<'a, 'b>
pub fn add_version(&mut self, version: MetadataVersion)
pub fn add_header_type(&mut self, header_type: MessageHeader)
pub fn add_header(&mut self, header: WIPOffset<UnionWIPOffset>)
pub fn add_bodyLength(&mut self, bodyLength: i64)
pub fn add_custom_metadata( &mut self, custom_metadata: WIPOffset<Vector<'b, ForwardsUOffset<KeyValue<'b>>>>, )
pub fn new(_fbb: &'b mut FlatBufferBuilder<'a>) -> MessageBuilder<'a, 'b>
pub fn finish(self) -> WIPOffset<Message<'a>>
Auto Trait Implementations§
impl<'a, 'b> Freeze for MessageBuilder<'a, 'b>
impl<'a, 'b> RefUnwindSafe for MessageBuilder<'a, 'b>
impl<'a, 'b> Send for MessageBuilder<'a, 'b>
impl<'a, 'b> Sync for MessageBuilder<'a, 'b>
impl<'a, 'b> Unpin for MessageBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for MessageBuilder<'a, 'b>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more