pub struct EncodeError(/* private fields */);
Implementations§
Source§impl EncodeError
impl EncodeError
pub const UNSUPPORTED_OPERATION: EncodeError
pub fn message_bytes(&self) -> &'static [u8]
pub fn message_str(&self) -> &'static str
Trait Implementations§
Source§impl Debug for EncodeError
impl Debug for EncodeError
Source§impl From<&'static str> for EncodeError
impl From<&'static str> for EncodeError
Source§impl PartialEq for EncodeError
impl PartialEq for EncodeError
impl Eq for EncodeError
impl StructuralPartialEq for EncodeError
Auto Trait Implementations§
impl Freeze for EncodeError
impl RefUnwindSafe for EncodeError
impl Send for EncodeError
impl Sync for EncodeError
impl Unpin for EncodeError
impl UnwindSafe for EncodeError
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