pub struct SetupBuilder { /* private fields */ }
Implementations§
Source§impl SetupBuilder
impl SetupBuilder
Sourcepub fn flag(self, flags: FrameFlags) -> Self
pub fn flag(self, flags: FrameFlags) -> Self
Sets flag(s) with value of flags
Sourcepub fn max_lifetime(self, max_lifetime: u32) -> Self
pub fn max_lifetime(self, max_lifetime: u32) -> Self
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 metadata_mime_type(self, metadata_mime_type: Bytes) -> Self
pub fn metadata_mime_type(self, metadata_mime_type: Bytes) -> Self
Sourcepub fn data_mime_type(self, data_mime_type: Bytes) -> Self
pub fn data_mime_type(self, data_mime_type: Bytes) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for SetupBuilder
impl RefUnwindSafe for SetupBuilder
impl Send for SetupBuilder
impl Sync for SetupBuilder
impl Unpin for SetupBuilder
impl UnwindSafe for SetupBuilder
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