pub struct SendSideDataTooLarge { /* private fields */ }Expand description
Payload for PacketBuildError::SendSideDataTooLarge.
A side-data list too long or too large to carry into a decoder. Carries whichever of the two caps was reached, so a caller can tell “too many annotations” from “too much annotation”.
Implementations§
Source§impl SendSideDataTooLarge
impl SendSideDataTooLarge
Sourcepub const fn new_entries(value: usize, limit: usize) -> Self
pub const fn new_entries(value: usize, limit: usize) -> Self
The entry-count cap was reached.
Trait Implementations§
Source§impl Clone for SendSideDataTooLarge
impl Clone for SendSideDataTooLarge
Source§fn clone(&self) -> SendSideDataTooLarge
fn clone(&self) -> SendSideDataTooLarge
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 SendSideDataTooLarge
Source§impl Debug for SendSideDataTooLarge
impl Debug for SendSideDataTooLarge
Source§impl Display for SendSideDataTooLarge
impl Display for SendSideDataTooLarge
impl Eq for SendSideDataTooLarge
Source§impl Error for SendSideDataTooLarge
impl Error for SendSideDataTooLarge
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 From<SendSideDataTooLarge> for PacketBuildError
impl From<SendSideDataTooLarge> for PacketBuildError
Source§fn from(source: SendSideDataTooLarge) -> Self
fn from(source: SendSideDataTooLarge) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SendSideDataTooLarge
impl PartialEq for SendSideDataTooLarge
impl StructuralPartialEq for SendSideDataTooLarge
Auto Trait Implementations§
impl Freeze for SendSideDataTooLarge
impl RefUnwindSafe for SendSideDataTooLarge
impl Send for SendSideDataTooLarge
impl Sync for SendSideDataTooLarge
impl Unpin for SendSideDataTooLarge
impl UnsafeUnpin for SendSideDataTooLarge
impl UnwindSafe for SendSideDataTooLarge
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