#[repr(i32)]pub enum TimeoutHandling {
Return = 0,
ThrowException = 1,
}Expand description
How timeout conditions are reported by grab operations.
Variants§
Return = 0
Return Ok(false) when the timeout expires.
ThrowException = 1
Convert the timeout into an error reported by Pylon.
Trait Implementations§
Source§impl Clone for TimeoutHandling
impl Clone for TimeoutHandling
Source§fn clone(&self) -> TimeoutHandling
fn clone(&self) -> TimeoutHandling
Returns a duplicate of the value. Read more
1.0.0 · 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 TimeoutHandling
impl Debug for TimeoutHandling
Source§impl PartialEq for TimeoutHandling
impl PartialEq for TimeoutHandling
impl Copy for TimeoutHandling
impl Eq for TimeoutHandling
impl StructuralPartialEq for TimeoutHandling
Auto Trait Implementations§
impl Freeze for TimeoutHandling
impl RefUnwindSafe for TimeoutHandling
impl Send for TimeoutHandling
impl Sync for TimeoutHandling
impl Unpin for TimeoutHandling
impl UnsafeUnpin for TimeoutHandling
impl UnwindSafe for TimeoutHandling
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