Struct PayloadTooLarge
pub struct PayloadTooLarge;Expand description
Error returned when a payload exceeds Payload::MAX_LEN.
Trait Implementations§
§impl Clone for PayloadTooLarge
impl Clone for PayloadTooLarge
§fn clone(&self) -> PayloadTooLarge
fn clone(&self) -> PayloadTooLarge
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PayloadTooLarge
§impl Debug for PayloadTooLarge
impl Debug for PayloadTooLarge
§impl Display for PayloadTooLarge
impl Display for PayloadTooLarge
impl Eq for PayloadTooLarge
§impl Error for PayloadTooLarge
impl Error for PayloadTooLarge
1.30.0 · 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()
§impl PartialEq for PayloadTooLarge
impl PartialEq for PayloadTooLarge
impl StructuralPartialEq for PayloadTooLarge
Auto Trait Implementations§
impl Freeze for PayloadTooLarge
impl RefUnwindSafe for PayloadTooLarge
impl Send for PayloadTooLarge
impl Sync for PayloadTooLarge
impl Unpin for PayloadTooLarge
impl UnsafeUnpin for PayloadTooLarge
impl UnwindSafe for PayloadTooLarge
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