Struct Builder
pub struct Builder<'a> { /* private fields */ }Implementations§
§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, Error>
pub fn get_qid(self) -> Result<Builder<'a>, Error>
pub fn set_qid(&mut self, value: Reader<'_>) -> Result<(), Error>
pub fn init_qid(self) -> Builder<'a>
pub fn has_qid(&self) -> bool
pub fn get_mode(self) -> u32
pub fn set_mode(&mut self, value: u32)
pub fn get_atime(self) -> u32
pub fn set_atime(&mut self, value: u32)
pub fn get_mtime(self) -> u32
pub fn set_mtime(&mut self, value: u32)
pub fn get_length(self) -> u64
pub fn set_length(&mut self, value: u64)
pub fn get_name(self) -> Result<Builder<'a>, Error>
pub fn set_name(&mut self, value: impl SetterInput<Owned>)
pub fn init_name(self, size: u32) -> Builder<'a>
pub fn has_name(&self) -> bool
pub fn get_uid(self) -> Result<Builder<'a>, Error>
pub fn set_uid(&mut self, value: impl SetterInput<Owned>)
pub fn init_uid(self, size: u32) -> Builder<'a>
pub fn has_uid(&self) -> bool
pub fn get_gid(self) -> Result<Builder<'a>, Error>
pub fn set_gid(&mut self, value: impl SetterInput<Owned>)
pub fn init_gid(self, size: u32) -> Builder<'a>
pub fn has_gid(&self) -> bool
pub fn get_muid(self) -> Result<Builder<'a>, Error>
pub fn set_muid(&mut self, value: impl SetterInput<Owned>)
pub fn init_muid(self, size: u32) -> Builder<'a>
pub fn has_muid(&self) -> bool
Trait Implementations§
§impl<'a> FromPointerBuilder<'a> for Builder<'a>
impl<'a> FromPointerBuilder<'a> for Builder<'a>
fn init_pointer(builder: PointerBuilder<'a>, _size: u32) -> Builder<'a>
fn get_from_pointer( builder: PointerBuilder<'a>, default: Option<&'a [Word]>, ) -> Result<Builder<'a>, Error>
§impl HasStructSize for Builder<'_>
impl HasStructSize for Builder<'_>
const STRUCT_SIZE: StructSize
Auto Trait Implementations§
impl<'a> Freeze for Builder<'a>
impl<'a> !RefUnwindSafe for Builder<'a>
impl<'a> !Send for Builder<'a>
impl<'a> !Sync for Builder<'a>
impl<'a> Unpin for Builder<'a>
impl<'a> UnsafeUnpin for Builder<'a>
impl<'a> !UnwindSafe 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<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> ServiceExt for T
impl<T> ServiceExt for T
§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Apply a transformation to the response body. Read more
§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using HTTP status codes. Read more
§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
High level tracing that classifies responses using gRPC headers. Read more