pub enum Amf0WriteError {
NormalStringTooLong,
Io(Error),
UnsupportedType(Amf0Marker),
}Expand description
Errors that can occur when encoding AMF0 data.
Variants§
NormalStringTooLong
A normal string was too long.
Io(Error)
An IO error occurred.
UnsupportedType(Amf0Marker)
An unsupported type was encountered.
Trait Implementations§
Source§impl Debug for Amf0WriteError
impl Debug for Amf0WriteError
Source§impl Display for Amf0WriteError
impl Display for Amf0WriteError
Source§impl Error for Amf0WriteError
impl Error for Amf0WriteError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for Amf0WriteError
impl !RefUnwindSafe for Amf0WriteError
impl Send for Amf0WriteError
impl Sync for Amf0WriteError
impl Unpin for Amf0WriteError
impl !UnwindSafe for Amf0WriteError
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