pub enum Answer {
Credential {
user: String,
password: String,
},
DefaultHandling,
Cancel,
Accept,
Reject,
}Expand description
The client’s answer to a Question.
Variants§
Credential
DefaultHandling
Let the stack decide: for a challenge, deliver the 401; for trust, the platform verdict.
Cancel
Abandon the request.
Accept
Trust the server despite the platform verdict.
Reject
Refuse the server.
Trait Implementations§
impl Eq for Answer
impl StructuralPartialEq for Answer
Auto Trait Implementations§
impl Forget for Answer
impl Freeze for Answer
impl Move for Answer
impl RefUnwindSafe for Answer
impl Send for Answer
impl Sync for Answer
impl Unpin for Answer
impl UnsafeUnpin for Answer
impl UnwindSafe for Answer
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