pub struct RuntimeBufferSizeError;
Expand description
Runtime buffer size exceed error
Trait Implementations§
Source§impl Clone for RuntimeBufferSizeError
impl Clone for RuntimeBufferSizeError
Source§fn clone(&self) -> RuntimeBufferSizeError
fn clone(&self) -> RuntimeBufferSizeError
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RuntimeBufferSizeError
impl Debug for RuntimeBufferSizeError
Source§impl Decode for RuntimeBufferSizeError
impl Decode for RuntimeBufferSizeError
Source§fn decode<__CodecInputEdqy: Input>(
__codec_input_edqy: &mut __CodecInputEdqy,
) -> Result<Self, Error>
fn decode<__CodecInputEdqy: Input>( __codec_input_edqy: &mut __CodecInputEdqy, ) -> Result<Self, Error>
Attempt to deserialise the value from input.
Source§fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
fn decode_into<I>(
input: &mut I,
dst: &mut MaybeUninit<Self>,
) -> Result<DecodeFinished, Error>where
I: Input,
Attempt to deserialize the value from input into a pre-allocated piece of memory. Read more
Source§impl Default for RuntimeBufferSizeError
impl Default for RuntimeBufferSizeError
Source§fn default() -> RuntimeBufferSizeError
fn default() -> RuntimeBufferSizeError
Returns the “default value” for a type. Read more
Source§impl Display for RuntimeBufferSizeError
impl Display for RuntimeBufferSizeError
Source§impl Encode for RuntimeBufferSizeError
impl Encode for RuntimeBufferSizeError
Source§fn size_hint(&self) -> usize
fn size_hint(&self) -> usize
If possible give a hint of expected size of the encoding. Read more
Source§fn encode_to<__CodecOutputEdqy: Output + ?Sized>(
&self,
__codec_dest_edqy: &mut __CodecOutputEdqy,
)
fn encode_to<__CodecOutputEdqy: Output + ?Sized>( &self, __codec_dest_edqy: &mut __CodecOutputEdqy, )
Convert self to a slice and append it to the destination.
Source§fn using_encoded<R, F>(&self, f: F) -> R
fn using_encoded<R, F>(&self, f: F) -> R
Convert self to a slice and then invoke the given closure with it.
Source§fn encoded_size(&self) -> usize
fn encoded_size(&self) -> usize
Calculates the encoded size. Read more
Source§impl From<RuntimeBufferSizeError> for &str
impl From<RuntimeBufferSizeError> for &str
Source§fn from(_: RuntimeBufferSizeError) -> Self
fn from(_: RuntimeBufferSizeError) -> Self
Converts to this type from the input type.
Source§impl Hash for RuntimeBufferSizeError
impl Hash for RuntimeBufferSizeError
Source§impl Ord for RuntimeBufferSizeError
impl Ord for RuntimeBufferSizeError
Source§fn cmp(&self, other: &RuntimeBufferSizeError) -> Ordering
fn cmp(&self, other: &RuntimeBufferSizeError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RuntimeBufferSizeError
impl PartialEq for RuntimeBufferSizeError
Source§impl PartialOrd for RuntimeBufferSizeError
impl PartialOrd for RuntimeBufferSizeError
Source§impl TypeInfo for RuntimeBufferSizeError
impl TypeInfo for RuntimeBufferSizeError
impl Copy for RuntimeBufferSizeError
impl EncodeLike for RuntimeBufferSizeError
impl Eq for RuntimeBufferSizeError
impl StructuralPartialEq for RuntimeBufferSizeError
Auto Trait Implementations§
impl Freeze for RuntimeBufferSizeError
impl RefUnwindSafe for RuntimeBufferSizeError
impl Send for RuntimeBufferSizeError
impl Sync for RuntimeBufferSizeError
impl Unpin for RuntimeBufferSizeError
impl UnwindSafe for RuntimeBufferSizeError
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