pub struct Bound<L, S = Wall> { /* private fields */ }Trait Implementations§
impl<L: Copy, S: Copy> Copy for Bound<L, S>
Source§impl<L: Limit, S: Time> Time for Bound<L, S>
impl<L: Limit, S: Time> Time for Bound<L, S>
const FIXED: bool = S::FIXED
fn start(self) -> Sample
fn timeout(self, deadline: Deadline<'_>) -> Duration
fn quiesce(self) -> Result<Sample, Error>
fn tick(self) -> Result<Sample, Error>
fn limit(self, timeout: Option<Duration>) -> Option<Duration>
fn sample_at(self, wall: Instant) -> Sample
Auto Trait Implementations§
impl<L, S> Forget for Bound<L, S>
impl<L, S> Freeze for Bound<L, S>
impl<L, S> Move for Bound<L, S>
impl<L, S> RefUnwindSafe for Bound<L, S>where
S: RefUnwindSafe,
L: RefUnwindSafe,
impl<L, S> Send for Bound<L, S>
impl<L, S> Sync for Bound<L, S>
impl<L, S> Unpin for Bound<L, S>
impl<L, S> UnsafeUnpin for Bound<L, S>where
S: UnsafeUnpin,
L: UnsafeUnpin,
impl<L, S> UnwindSafe for Bound<L, S>where
S: UnwindSafe,
L: UnwindSafe,
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