pub const MAX_VIEW_COUNT: u32 = 300; // 300u32Expand description
The maximum number of ViewDescriptors a client can expect in a
ViewTreeSnapshot.
There is a limit on the number of ViewDescriptors that can be included in a
ViewTreeSnapshot due to the size restrictions of a FIDL channel. This limit was
calculated by finding out the maximum number of ViewDescriptors which can be
included in a ViewTreeSnapshot when the BUFFER_SIZE is 1.
Note: This value would have to adjusted when modifying ViewDescriptor.