pub enum RefreshOauth2AccessTokenResult {
Ok(AccessTokenResponse),
Io(StreamIo),
Err(RefreshOauth2AccessTokenError),
}
Available on crate feature
oauth2
only.Expand description
Send result returned by the coroutine’s resume function.
Variants§
Ok(AccessTokenResponse)
The coroutine has successfully terminated its execution.
Io(StreamIo)
The coroutine wants stream I/O.
Err(RefreshOauth2AccessTokenError)
The coroutine encountered an error.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RefreshOauth2AccessTokenResult
impl !RefUnwindSafe for RefreshOauth2AccessTokenResult
impl Send for RefreshOauth2AccessTokenResult
impl Sync for RefreshOauth2AccessTokenResult
impl Unpin for RefreshOauth2AccessTokenResult
impl !UnwindSafe for RefreshOauth2AccessTokenResult
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