pub struct StreamHubError {
pub value: StreamHubErrorValue,
}
Fields§
§value: StreamHubErrorValue
Trait Implementations§
Source§impl Debug for StreamHubError
impl Debug for StreamHubError
Source§impl Display for StreamHubError
impl Display for StreamHubError
Source§impl Fail for StreamHubError
impl Fail for StreamHubError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl From<BytesReadError> for StreamHubError
impl From<BytesReadError> for StreamHubError
Source§fn from(error: BytesReadError) -> Self
fn from(error: BytesReadError) -> Self
Converts to this type from the input type.
Source§impl From<BytesWriteError> for StreamHubError
impl From<BytesWriteError> for StreamHubError
Source§fn from(error: BytesWriteError) -> Self
fn from(error: BytesWriteError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for StreamHubError
impl From<Error> for StreamHubError
Source§impl From<RecvError> for StreamHubError
impl From<RecvError> for StreamHubError
Auto Trait Implementations§
impl Freeze for StreamHubError
impl !RefUnwindSafe for StreamHubError
impl Send for StreamHubError
impl Sync for StreamHubError
impl Unpin for StreamHubError
impl !UnwindSafe for StreamHubError
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