pub struct PollOptions<'a, T> {
pub interval_seconds: Option<u32>,
pub expires_in_seconds: Option<u32>,
pub poll: PollFn<'a, T>,
pub cancel: Option<CancellationToken>,
}Expand description
Options for the device code poller.
Fields§
§interval_seconds: Option<u32>§expires_in_seconds: Option<u32>§poll: PollFn<'a, T>§cancel: Option<CancellationToken>Auto Trait Implementations§
impl<'a, T> !RefUnwindSafe for PollOptions<'a, T>
impl<'a, T> !Sync for PollOptions<'a, T>
impl<'a, T> !UnwindSafe for PollOptions<'a, T>
impl<'a, T> Freeze for PollOptions<'a, T>
impl<'a, T> Send for PollOptions<'a, T>
impl<'a, T> Unpin for PollOptions<'a, T>
impl<'a, T> UnsafeUnpin for PollOptions<'a, T>
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