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