pub enum TransferResult {
Success(Vec<String>),
Retry,
Error(SessionError),
}Expand description
Result of executing a single transfer request.
This enum represents the possible outcomes of a transfer attempt, allowing the caller to decide whether to retry or handle the result.
Variants§
Success(Vec<String>)
Transfer succeeded with extracted cookies.
Retry
Transfer failed but should be retried (e.g., 429 Too Many Requests).
Error(SessionError)
Transfer failed with a fatal error that should not be retried.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TransferResult
impl !RefUnwindSafe for TransferResult
impl Send for TransferResult
impl Sync for TransferResult
impl Unpin for TransferResult
impl UnsafeUnpin for TransferResult
impl !UnwindSafe for TransferResult
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