pub struct ResumeBuilder { /* private fields */ }
Implementations§
Source§impl ResumeBuilder
impl ResumeBuilder
Sourcepub fn flag(self, flags: FrameFlags) -> Self
pub fn flag(self, flags: FrameFlags) -> Self
Sets flag(s) with value of flags
Sourcepub fn resume_identification_token(
self,
resume_identification_token: Bytes,
) -> Self
pub fn resume_identification_token( self, resume_identification_token: Bytes, ) -> Self
Sets resume_identification_token
value
§Parameters
resume_identification_token
- The new value to be set
Sourcepub fn last_received_server_position(
self,
last_received_server_position: u64,
) -> Self
pub fn last_received_server_position( self, last_received_server_position: u64, ) -> Self
Sets last_received_server_position
value
§Parameters
last_received_server_position
- The new value to be set
Sourcepub fn first_available_client_position(
self,
first_available_client_position: u64,
) -> Self
pub fn first_available_client_position( self, first_available_client_position: u64, ) -> Self
Sets first_available_client_position
value
§Parameters
first_available_client_position
- The new value to be set
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ResumeBuilder
impl RefUnwindSafe for ResumeBuilder
impl Send for ResumeBuilder
impl Sync for ResumeBuilder
impl Unpin for ResumeBuilder
impl UnwindSafe for ResumeBuilder
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