pub struct RecordBuilder<'a> {
pub enc: Encoder<'a>,
/* private fields */
}
Expand description
State for writing a single record. When this is dropped, it will terminate the record.
Fields§
§enc: Encoder<'a>
Encoder which can write the payload of the current record.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RecordBuilder<'a>
impl<'a> RefUnwindSafe for RecordBuilder<'a>
impl<'a> Send for RecordBuilder<'a>
impl<'a> Sync for RecordBuilder<'a>
impl<'a> Unpin for RecordBuilder<'a>
impl<'a> !UnwindSafe for RecordBuilder<'a>
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