[−][src]Enum rml_rtmp::messages::MessageSerializationErrorKind
Enumeration that represents the various errors that may occur while trying to serialize a RTMP message into a raw RTMP payload.
Variants
InvalidChunkSize
An invalid chunk size value was provided
Amf0SerializationError(Amf0SerializationError)
The values provided could not be serialized into valid AMF0 encoded data
Io(Error)
Failed to read the values from the input buffer
Trait Implementations
impl From<MessageSerializationErrorKind> for MessageSerializationError
[src]
impl From<MessageSerializationErrorKind> for MessageSerializationError
fn from(kind: MessageSerializationErrorKind) -> Self | [src] |
impl Debug for MessageSerializationErrorKind
[src]
impl Debug for MessageSerializationErrorKind
impl Display for MessageSerializationErrorKind
[src]
impl Display for MessageSerializationErrorKind
impl Fail for MessageSerializationErrorKind
[src]
impl Fail for MessageSerializationErrorKind
fn name(&self) -> Option<&str> | [src] |
fn cause(&self) -> Option<&dyn Fail> | [src] |
fn backtrace(&self) -> Option<&Backtrace> | [src] |
fn context<D>(self, context: D) -> Context<D> where | [src] |
Provides context for this failure. Read more
fn compat(self) -> Compat<Self> | [src] |
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
Auto Trait Implementations
impl Send for MessageSerializationErrorKind
impl Send for MessageSerializationErrorKind
impl Sync for MessageSerializationErrorKind
impl Sync for MessageSerializationErrorKind
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
impl<T> ToString for T where
T: Display + ?Sized,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<T> AsFail for T where
T: Fail,
[src]
impl<T> AsFail for T where
T: Fail,
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
[src]
impl<E> Fail for E where
E: 'static + Error + Send + Sync,
fn name(&self) -> Option<&str> | [src] |
Returns the "name" of the error. Read more
fn cause(&self) -> Option<&(dyn Fail + 'static)> | [src] |
Returns a reference to the underlying cause of this failure, if it is an error that wraps other errors. Read more
fn backtrace(&self) -> Option<&Backtrace> | [src] |
Returns a reference to the Backtrace
carried by this failure, if it carries one. Read more
fn context<D>(self, context: D) -> Context<D> where | [src] |
Provides context for this failure. Read more
fn compat(self) -> Compat<Self> | [src] |
Wraps this failure in a compatibility wrapper that implements std::error::Error
. Read more
impl<T> Same for T
impl<T> Same for T
type Output = T
Should always be Self