pub enum SerError {
BufferTooSmall,
StringTooLong,
SequenceTooLong,
}Expand description
Serialization error.
Variants§
BufferTooSmall
Buffer is too small to hold the serialized data.
StringTooLong
String length exceeds u32::MAX (CDR uses a 4-byte length prefix).
SequenceTooLong
Sequence length exceeds u32::MAX (CDR uses a 4-byte length prefix).
Trait Implementations§
impl Copy for SerError
impl Eq for SerError
impl StructuralPartialEq for SerError
Auto Trait Implementations§
impl Freeze for SerError
impl RefUnwindSafe for SerError
impl Send for SerError
impl Sync for SerError
impl Unpin for SerError
impl UnsafeUnpin for SerError
impl UnwindSafe for SerError
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