pub struct LoopbackBrowser { /* private fields */ }Expand description
Receives an authorization response on 127.0.0.1.
Implementations§
Source§impl LoopbackBrowser
impl LoopbackBrowser
Sourcepub async fn bind() -> Result<Self, EnvironmentError>
pub async fn bind() -> Result<Self, EnvironmentError>
Binds a loopback port chosen by the operating system.
§Errors
EnvironmentError::Unavailable when no port could be bound.
Sourcepub fn redirect_uri(&self) -> &str
pub fn redirect_uri(&self) -> &str
The URI to register as this client’s redirect.
Trait Implementations§
Source§impl Debug for LoopbackBrowser
impl Debug for LoopbackBrowser
Source§impl UserAgent for LoopbackBrowser
impl UserAgent for LoopbackBrowser
Takes the user through
authorization_url and returns the callback. Read moreAuto Trait Implementations§
impl !Freeze for LoopbackBrowser
impl !RefUnwindSafe for LoopbackBrowser
impl !UnwindSafe for LoopbackBrowser
impl Send for LoopbackBrowser
impl Sync for LoopbackBrowser
impl Unpin for LoopbackBrowser
impl UnsafeUnpin for LoopbackBrowser
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