pub struct Builder<'a> {
builder: StructBuilder<'a>,
}Fields§
§builder: StructBuilder<'a>Implementations§
Source§impl<'a> Builder<'a>
impl<'a> Builder<'a>
pub fn into_reader(self) -> Reader<'a>
pub fn reborrow(&mut self) -> Builder<'_>
pub fn reborrow_as_reader(&self) -> Reader<'_>
pub fn total_size(&self) -> Result<MessageSize>
pub fn get_process_id(self) -> u32
pub fn set_process_id(&mut self, value: u32)
pub fn get_version(self) -> Result<Builder<'a>>
pub fn set_version(&mut self, value: impl SetterInput<Owned>)
pub fn init_version(self, size: u32) -> Builder<'a>
pub fn has_version(&self) -> bool
pub fn get_tag(self) -> Result<Builder<'a>>
pub fn set_tag(&mut self, value: impl SetterInput<Owned>)
pub fn init_tag(self, size: u32) -> Builder<'a>
pub fn has_tag(&self) -> bool
pub fn get_commit(self) -> Result<Builder<'a>>
pub fn set_commit(&mut self, value: impl SetterInput<Owned>)
pub fn init_commit(self, size: u32) -> Builder<'a>
pub fn has_commit(&self) -> bool
pub fn get_build_date(self) -> Result<Builder<'a>>
pub fn set_build_date(&mut self, value: impl SetterInput<Owned>)
pub fn init_build_date(self, size: u32) -> Builder<'a>
pub fn has_build_date(&self) -> bool
pub fn get_target(self) -> Result<Builder<'a>>
pub fn set_target(&mut self, value: impl SetterInput<Owned>)
pub fn init_target(self, size: u32) -> Builder<'a>
pub fn has_target(&self) -> bool
pub fn get_rust_version(self) -> Result<Builder<'a>>
pub fn set_rust_version(&mut self, value: impl SetterInput<Owned>)
pub fn init_rust_version(self, size: u32) -> Builder<'a>
pub fn has_rust_version(&self) -> bool
pub fn get_cargo_version(self) -> Result<Builder<'a>>
pub fn set_cargo_version(&mut self, value: impl SetterInput<Owned>)
pub fn init_cargo_version(self, size: u32) -> Builder<'a>
pub fn has_cargo_version(&self) -> bool
pub fn get_cargo_tree(self) -> Result<Builder<'a>>
pub fn set_cargo_tree(&mut self, value: impl SetterInput<Owned>)
pub fn init_cargo_tree(self, size: u32) -> Builder<'a>
pub fn has_cargo_tree(&self) -> bool
pub fn get_metadata_old(self)
pub fn set_metadata_old(&mut self, _value: ())
pub fn get_features(self) -> Result<Builder<'a>>
pub fn set_features(&mut self, value: impl SetterInput<Owned>) -> Result<()>
pub fn init_features(self, size: u32) -> Builder<'a>
pub fn has_features(&self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> !UnwindSafe for Builder<'a>
impl<'a> Freeze for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> UnsafeUnpin for Builder<'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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].