#[non_exhaustive]pub struct Unsized {
pub ordinal: Ordinal,
pub member: &'static str,
pub type_name: &'static str,
}Expand description
A payload with no size in the encoding a budget was asked for: its
EncodedSizes field for that encoding is None. The budget is not
computed, because a missing size is not estimated.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.ordinal: OrdinalThe member’s ordinal.
member: &'static strThe member’s name.
type_name: &'static strThe name of the payload type that has no size.
Trait Implementations§
impl Copy for Unsized
impl Eq for Unsized
impl StructuralPartialEq for Unsized
Auto Trait Implementations§
impl Freeze for Unsized
impl RefUnwindSafe for Unsized
impl Send for Unsized
impl Sync for Unsized
impl Unpin for Unsized
impl UnsafeUnpin for Unsized
impl UnwindSafe for Unsized
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