Struct zvariant::serialized::Written
source · pub struct Written { /* private fields */ }
Expand description
Represents the return value of crate::to_writer
function.
It mainly contains the size of serialized bytes in a specific format.
On Unix platforms, it also contains a list of file descriptors, whose indexes are included in the serialized bytes.
Implementations§
Methods from Deref<Target = usize>§
pub const MIN: usize = 0usize
pub const MAX: usize = 18_446_744_073_709_551_615usize
pub const BITS: u32 = 64u32
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Written
impl RefUnwindSafe for Written
impl Send for Written
impl Sync for Written
impl Unpin for Written
impl UnwindSafe for Written
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