pub struct FrameTooLarge {
pub size: usize,
pub limit: u32,
}Expand description
A message whose payload is larger than the frame limit, refused by the sender.
Fields§
§size: usizePayload bytes.
limit: u32Trait Implementations§
Source§impl Clone for FrameTooLarge
impl Clone for FrameTooLarge
impl Copy for FrameTooLarge
Source§impl Debug for FrameTooLarge
impl Debug for FrameTooLarge
Source§impl Display for FrameTooLarge
impl Display for FrameTooLarge
impl Eq for FrameTooLarge
Source§impl Error for FrameTooLarge
impl Error for FrameTooLarge
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()
Source§impl PartialEq for FrameTooLarge
impl PartialEq for FrameTooLarge
impl StructuralPartialEq for FrameTooLarge
Auto Trait Implementations§
impl Freeze for FrameTooLarge
impl RefUnwindSafe for FrameTooLarge
impl Send for FrameTooLarge
impl Sync for FrameTooLarge
impl Unpin for FrameTooLarge
impl UnsafeUnpin for FrameTooLarge
impl UnwindSafe for FrameTooLarge
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