Enum ntex_amqp::error::AmqpCodecError
source · pub enum AmqpCodecError {
ParseError(AmqpParseError),
UnparsedBytesLeft,
MaxSizeExceeded,
InvalidFrameSize,
}
Variants§
Trait Implementations§
source§impl Clone for AmqpCodecError
impl Clone for AmqpCodecError
source§fn clone(&self) -> AmqpCodecError
fn clone(&self) -> AmqpCodecError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AmqpCodecError
impl Debug for AmqpCodecError
source§impl Display for AmqpCodecError
impl Display for AmqpCodecError
source§impl From<AmqpCodecError> for AmqpProtocolError
impl From<AmqpCodecError> for AmqpProtocolError
source§fn from(err: AmqpCodecError) -> Self
fn from(err: AmqpCodecError) -> Self
Converts to this type from the input type.
source§impl From<AmqpCodecError> for ConnectError
impl From<AmqpCodecError> for ConnectError
source§fn from(original: AmqpCodecError) -> ConnectError
fn from(original: AmqpCodecError) -> ConnectError
Converts to this type from the input type.
source§impl From<AmqpCodecError> for HandshakeError
impl From<AmqpCodecError> for HandshakeError
source§fn from(original: AmqpCodecError) -> HandshakeError
fn from(original: AmqpCodecError) -> HandshakeError
Converts to this type from the input type.
source§impl<E> From<AmqpCodecError> for ServerError<E>
impl<E> From<AmqpCodecError> for ServerError<E>
source§fn from(err: AmqpCodecError) -> Self
fn from(err: AmqpCodecError) -> Self
Converts to this type from the input type.
source§impl From<AmqpParseError> for AmqpCodecError
impl From<AmqpParseError> for AmqpCodecError
source§fn from(original: AmqpParseError) -> AmqpCodecError
fn from(original: AmqpParseError) -> AmqpCodecError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AmqpCodecError
impl !RefUnwindSafe for AmqpCodecError
impl Send for AmqpCodecError
impl Sync for AmqpCodecError
impl Unpin for AmqpCodecError
impl !UnwindSafe for AmqpCodecError
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