pub struct StaticTokenSource(/* private fields */);Expand description
静的トークンソース
Implementations§
Trait Implementations§
Source§impl Clone for StaticTokenSource
impl Clone for StaticTokenSource
Source§fn clone(&self) -> StaticTokenSource
fn clone(&self) -> StaticTokenSource
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 StaticTokenSource
impl Debug for StaticTokenSource
Source§impl Default for StaticTokenSource
impl Default for StaticTokenSource
Source§fn default() -> StaticTokenSource
fn default() -> StaticTokenSource
Returns the “default value” for a type. Read more
Source§impl TokenSource for StaticTokenSource
impl TokenSource for StaticTokenSource
async fn token(&mut self) -> Result<AccessToken, TokenSourceError>
Auto Trait Implementations§
impl Freeze for StaticTokenSource
impl RefUnwindSafe for StaticTokenSource
impl Send for StaticTokenSource
impl Sync for StaticTokenSource
impl Unpin for StaticTokenSource
impl UnsafeUnpin for StaticTokenSource
impl UnwindSafe for StaticTokenSource
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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