pub struct DeviceCodePollingExecutor { /* private fields */ }
Implementations§
Source§impl DeviceCodePollingExecutor
impl DeviceCodePollingExecutor
pub fn with_scope<T: ToString, I: IntoIterator<Item = T>>( self, scope: I, ) -> Self
pub fn with_tenant(self, tenant_id: impl AsRef<str>) -> Self
pub fn poll(&mut self) -> AuthExecutionResult<Receiver<JsonHttpResponse>>
pub async fn poll_async( &mut self, buffer: Option<usize>, ) -> AuthTaskExecutionResult<Receiver<JsonHttpResponse>, JsonHttpResponse>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for DeviceCodePollingExecutor
impl !RefUnwindSafe for DeviceCodePollingExecutor
impl Send for DeviceCodePollingExecutor
impl Sync for DeviceCodePollingExecutor
impl Unpin for DeviceCodePollingExecutor
impl !UnwindSafe for DeviceCodePollingExecutor
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