pub struct RequestStreamBuilder { /* private fields */ }
Implementations§
Source§impl RequestStreamBuilder
impl RequestStreamBuilder
Sourcepub fn flag(self, flags: FrameFlags) -> Self
pub fn flag(self, flags: FrameFlags) -> Self
Sets flag(s) with value of flags
Sourcepub fn initial_request_n(self, initial_request_n: u32) -> Self
pub fn initial_request_n(self, initial_request_n: u32) -> Self
Sourcepub fn build(self) -> Result<RequestStream>
pub fn build(self) -> Result<RequestStream>
Builds a new RequestStream
instance from this builder.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RequestStreamBuilder
impl RefUnwindSafe for RequestStreamBuilder
impl Send for RequestStreamBuilder
impl Sync for RequestStreamBuilder
impl Unpin for RequestStreamBuilder
impl UnwindSafe for RequestStreamBuilder
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