fn write_nested_generic<W, L>(w: &mut W) -> NestedWriter<'_, W, L>where W: Writer + ?Sized, L: Default + Copy + Sized + Writeable + TryFrom<usize>,
Implementation of write_nested_* - generic over the length type
write_nested_*