pub struct Size { /* private fields */ }
Expand description
Represents the return value of crate::serialized_size
function.
It mainly contains the size of serialized bytes in a specific format.
On Unix platforms, it also contains the number of file descriptors, whose indexes are included in the serialized bytes.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Size
impl RefUnwindSafe for Size
impl Send for Size
impl Sync for Size
impl Unpin for Size
impl UnwindSafe for Size
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