pub struct PersistentAuth { /* private fields */ }Implementations§
Source§impl PersistentAuth
impl PersistentAuth
pub async fn challenge(&self) -> Result<(), DatabricksAuthError>
pub async fn token( &self, login: Option<bool>, ) -> Result<AccessToken, DatabricksAuthError>
pub async fn force_refresh_token( &self, ) -> Result<AccessToken, DatabricksAuthError>
pub async fn logout(&self) -> Result<(), DatabricksAuthError>
pub fn status(&self) -> DatabricksAuthStatus
Trait Implementations§
Source§impl<UT> LiftRef<UT> for PersistentAuth
impl<UT> LiftRef<UT> for PersistentAuth
type LiftType = Arc<PersistentAuth>
Source§impl<UT> LowerError<UT> for PersistentAuth
impl<UT> LowerError<UT> for PersistentAuth
Source§fn lower_error(obj: Self) -> RustBuffer
fn lower_error(obj: Self) -> RustBuffer
Lower this value for scaffolding function return Read more
Source§impl<UT> LowerReturn<UT> for PersistentAuth
impl<UT> LowerReturn<UT> for PersistentAuth
Source§type ReturnType = <Arc<PersistentAuth> as LowerReturn<UniFfiTag>>::ReturnType
type ReturnType = <Arc<PersistentAuth> as LowerReturn<UniFfiTag>>::ReturnType
The type that should be returned by scaffolding functions for this type. Read more
Source§fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
fn lower_return(obj: Self) -> Result<Self::ReturnType, RustCallError>
Lower the return value from an scaffolding call Read more
Source§fn handle_failed_lift(
error: LiftArgsError,
) -> Result<Self::ReturnType, RustCallError>
fn handle_failed_lift( error: LiftArgsError, ) -> Result<Self::ReturnType, RustCallError>
Lower the return value for failed argument lifts Read more
Source§impl<UT> TypeId<UT> for PersistentAuth
impl<UT> TypeId<UT> for PersistentAuth
Auto Trait Implementations§
impl !RefUnwindSafe for PersistentAuth
impl !UnwindSafe for PersistentAuth
impl Freeze for PersistentAuth
impl Send for PersistentAuth
impl Sync for PersistentAuth
impl Unpin for PersistentAuth
impl UnsafeUnpin for PersistentAuth
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