Enum docuglot::TranslationError [−][src]
An error during translation.
Variants
Transmission(WriteFault<Message>)
Failure while transmitting a client message.
Failure while receiving a server message.
Failure while creating client.
Wait(WaitFault)
Failure while waiting for process.
NoSupply(WithdrawnSupplyFault)
Attempted to consume on channel with no supply.
NoDemand(ProduceFailure<WithdrawnDemandFault>)
Attempted to produce on channel with dropped Consumer
.
Serialize(Error)
An error serializing a message.
Read(ReadFault<Message>)
An error reading the message.
A JSON-RPC error.
An invalid state.
Trait Implementations
impl Debug for TranslationError
[src]
impl Display for TranslationError
[src]
impl Error for TranslationError
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[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 From<Error> for TranslationError
[src]
impl From<ProduceFailure<WithdrawnDemandFault>> for TranslationError
[src]
fn from(source: ProduceFailure<WithdrawnDemandFault>) -> Self
[src]
impl From<ReadFault<Message>> for TranslationError
[src]
impl From<WaitFault> for TranslationError
[src]
impl From<WithdrawnSupplyFault> for TranslationError
[src]
fn from(source: WithdrawnSupplyFault) -> Self
[src]
impl From<WriteFault<Message>> for TranslationError
[src]
fn from(source: WriteFault<Message>) -> Self
[src]
impl TryFrom<ConsumeFailure<TranslationError>> for TranslationError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for TranslationError
impl Send for TranslationError
impl Sync for TranslationError
impl Unpin for TranslationError
impl !UnwindSafe for TranslationError
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>,