pub struct SessionResumptionUpdateBuilder(/* private fields */);Expand description
Builder for SessionResumptionUpdate.
Implementations§
Source§impl SessionResumptionUpdateBuilder
impl SessionResumptionUpdateBuilder
pub fn new_handle(self, value: impl Into<String>) -> Self
pub fn resumable(self, value: impl Into<bool>) -> Self
pub fn last_consumed_client_message_index( self, value: impl Into<LiveInt64>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> SessionResumptionUpdate
pub fn build(self) -> SessionResumptionUpdate
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for SessionResumptionUpdateBuilder
impl RefUnwindSafe for SessionResumptionUpdateBuilder
impl Send for SessionResumptionUpdateBuilder
impl Sync for SessionResumptionUpdateBuilder
impl Unpin for SessionResumptionUpdateBuilder
impl UnsafeUnpin for SessionResumptionUpdateBuilder
impl UnwindSafe for SessionResumptionUpdateBuilder
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