Enum market::io::ReadFault [−][src]
A fault while reading a good of type G
.
Variants
Io(Error)
The read threw an error.
The thread was terminated.
Assemble(<G as AssembleFrom<u8>>::Error)
The assembly of the good from bytes threw an error.
Trait Implementations
impl<G: AssembleFrom<u8>> Debug for ReadFault<G> where
<G as AssembleFrom<u8>>::Error: Debug,
[src]
<G as AssembleFrom<u8>>::Error: Debug,
impl<G: AssembleFrom<u8>> Display for ReadFault<G> where
<G as AssembleFrom<u8>>::Error: Display,
[src]
<G as AssembleFrom<u8>>::Error: Display,
impl<G: AssembleFrom<u8>> Error for ReadFault<G> where
<G as AssembleFrom<u8>>::Error: Error,
[src]
<G as AssembleFrom<u8>>::Error: Error,
pub fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
pub fn backtrace(&self) -> Option<&Backtrace>
[src]
pub fn description(&self) -> &str
1.0.0[src]
pub fn cause(&self) -> Option<&dyn Error>
1.0.0[src]
impl<G: AssembleFrom<u8>> From<Error> for ReadFault<G>
[src]
impl<G: AssembleFrom<u8>> TryFrom<ConsumeFailure<ReadFault<G>>> for ReadFault<G>
[src]
Auto Trait Implementations
impl<G> !RefUnwindSafe for ReadFault<G>
[src]
impl<G> Send for ReadFault<G> where
<G as AssembleFrom<u8>>::Error: Send,
[src]
<G as AssembleFrom<u8>>::Error: Send,
impl<G> Sync for ReadFault<G> where
<G as AssembleFrom<u8>>::Error: Sync,
[src]
<G as AssembleFrom<u8>>::Error: Sync,
impl<G> Unpin for ReadFault<G> where
<G as AssembleFrom<u8>>::Error: Unpin,
[src]
<G as AssembleFrom<u8>>::Error: Unpin,
impl<G> !UnwindSafe for ReadFault<G>
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<P, C> AssembleInto<C> for P where
C: AssembleFrom<P>,
[src]
C: AssembleFrom<P>,
type Error = <C as AssembleFrom<P>>::Error
Describes an error with the parts. Read more
pub fn assemble_into(
parts: &mut Vec<P, Global>
) -> Result<C, AssembleFailure<<P as AssembleInto<C>>::Error>>
[src]
parts: &mut Vec<P, Global>
) -> Result<C, AssembleFailure<<P as AssembleInto<C>>::Error>>
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<P, C> DisassembleInto<P> for C where
P: DisassembleFrom<C>,
[src]
P: DisassembleFrom<C>,
type Error = <P as DisassembleFrom<C>>::Error
Describes an error that prevents disassembly.
pub fn disassemble_into(
self
) -> Result<Vec<P, Global>, <C as DisassembleInto<P>>::Error>
[src]
self
) -> Result<Vec<P, Global>, <C as DisassembleInto<P>>::Error>
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,