pub enum RecordError {
Bind {
addr: SocketAddr,
source: Error,
},
Serve(Error),
Upstream {
url: String,
source: Error,
},
}Expand description
Something that went wrong standing up or running a recording session.
Variants§
Bind
Binding the loopback listener failed — in practice: the port is already taken.
Serve(Error)
The accept loop died after a successful bind.
Upstream
The upstream base URL is not a usable origin.
Trait Implementations§
Source§impl Debug for RecordError
impl Debug for RecordError
Source§impl Display for RecordError
impl Display for RecordError
Source§impl Error for RecordError
impl Error for RecordError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl !RefUnwindSafe for RecordError
impl !UnwindSafe for RecordError
impl Freeze for RecordError
impl Send for RecordError
impl Sync for RecordError
impl Unpin for RecordError
impl UnsafeUnpin for RecordError
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