pub struct AttributeArrayValueBuilder<'w, S: ScratchBuffer> { /* private fields */ }Implementations§
Source§impl<'w, S: ScratchBuffer> AttributeArrayValueBuilder<'w, S>
impl<'w, S: ScratchBuffer> AttributeArrayValueBuilder<'w, S>
pub fn new(writer: &'w mut ScratchWriter<S>) -> Self
pub fn type_(&mut self, value: AttributeArrayValueType) -> Result<&mut Self>
pub fn string_value(&mut self, value: &str) -> Result<&mut Self>
pub fn bool_value(&mut self, value: bool) -> Result<&mut Self>
pub fn int_value(&mut self, value: i64) -> Result<&mut Self>
pub fn double_value(&mut self, value: f64) -> Result<&mut Self>
pub fn finish<W: Writer>(self, output: &mut W) -> Result<()>
pub fn finish_length_delimited<W: Writer>(self, output: &mut W) -> Result<()>
Auto Trait Implementations§
impl<'w, S> Freeze for AttributeArrayValueBuilder<'w, S>
impl<'w, S> RefUnwindSafe for AttributeArrayValueBuilder<'w, S>where
S: RefUnwindSafe,
impl<'w, S> Send for AttributeArrayValueBuilder<'w, S>where
S: Send,
impl<'w, S> Sync for AttributeArrayValueBuilder<'w, S>where
S: Sync,
impl<'w, S> Unpin for AttributeArrayValueBuilder<'w, S>
impl<'w, S> !UnwindSafe for AttributeArrayValueBuilder<'w, S>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request