pub struct ValidStreamBufferConstraints {Show 13 fields
pub buffer_constraints_version_ordinal: u64,
pub default_settings: Option<StreamBufferSettings>,
pub per_packet_buffer_bytes_min: Option<u32>,
pub per_packet_buffer_bytes_recommended: Option<u32>,
pub per_packet_buffer_bytes_max: Option<u32>,
pub packet_count_for_server_min: Option<u32>,
pub packet_count_for_server_recommended: Option<u32>,
pub packet_count_for_server_recommended_max: Option<u32>,
pub packet_count_for_server_max: Option<u32>,
pub packet_count_for_client_min: Option<u32>,
pub packet_count_for_client_max: Option<u32>,
pub single_buffer_mode_allowed: Option<bool>,
pub is_physically_contiguous_required: Option<bool>,
}
Fields§
§buffer_constraints_version_ordinal: u64
§default_settings: Option<StreamBufferSettings>
§per_packet_buffer_bytes_min: Option<u32>
§per_packet_buffer_bytes_recommended: Option<u32>
§per_packet_buffer_bytes_max: Option<u32>
§packet_count_for_server_min: Option<u32>
§packet_count_for_server_recommended: Option<u32>
§packet_count_for_server_recommended_max: Option<u32>
§packet_count_for_server_max: Option<u32>
§packet_count_for_client_min: Option<u32>
§packet_count_for_client_max: Option<u32>
§single_buffer_mode_allowed: Option<bool>
§is_physically_contiguous_required: Option<bool>
Trait Implementations§
Source§impl From<ValidStreamBufferConstraints> for StreamBufferConstraints
impl From<ValidStreamBufferConstraints> for StreamBufferConstraints
Source§fn from(src: ValidStreamBufferConstraints) -> StreamBufferConstraints
fn from(src: ValidStreamBufferConstraints) -> StreamBufferConstraints
Converts to this type from the input type.
Source§impl TryFrom<StreamBufferConstraints> for ValidStreamBufferConstraints
impl TryFrom<StreamBufferConstraints> for ValidStreamBufferConstraints
Source§type Error = StreamBufferConstraintsValidationError
type Error = StreamBufferConstraintsValidationError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ValidStreamBufferConstraints
impl RefUnwindSafe for ValidStreamBufferConstraints
impl Send for ValidStreamBufferConstraints
impl Sync for ValidStreamBufferConstraints
impl Unpin for ValidStreamBufferConstraints
impl UnwindSafe for ValidStreamBufferConstraints
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