pub struct PeekResult {
pub allowed: bool,
pub wait_duration: Duration,
}Fields§
§allowed: bool§wait_duration: DurationTrait Implementations§
Source§impl Clone for PeekResult
impl Clone for PeekResult
Source§fn clone(&self) -> PeekResult
fn clone(&self) -> PeekResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PeekResult
impl Debug for PeekResult
Source§impl PartialEq for PeekResult
impl PartialEq for PeekResult
Source§fn eq(&self, other: &PeekResult) -> bool
fn eq(&self, other: &PeekResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PeekResult
impl StructuralPartialEq for PeekResult
Auto Trait Implementations§
impl Freeze for PeekResult
impl RefUnwindSafe for PeekResult
impl Send for PeekResult
impl Sync for PeekResult
impl Unpin for PeekResult
impl UnsafeUnpin for PeekResult
impl UnwindSafe for PeekResult
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