pub struct FileSource { /* private fields */ }Expand description
A KEY=VALUE file that must be mode 0600.
Accepts IBRIDGE_APPLE_ID and IBRIDGE_APP_PASSWORD, and falls back to
IBRIDGE_TEST_APPLE_ID and IBRIDGE_TEST_APP_PASSWORD when those are absent.
Implementations§
Trait Implementations§
Source§impl CredentialSource for FileSource
impl CredentialSource for FileSource
Source§async fn credentials(&self) -> Result<Credentials, AuthError>
async fn credentials(&self) -> Result<Credentials, AuthError>
Reads the Apple ID and app-specific password. Read more
Auto Trait Implementations§
impl Forget for FileSource
impl Freeze for FileSource
impl Move for FileSource
impl RefUnwindSafe for FileSource
impl Send for FileSource
impl Sync for FileSource
impl Unpin for FileSource
impl UnsafeUnpin for FileSource
impl UnwindSafe for FileSource
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