pub struct StreamParameters {
pub data_type: Option<DataType>,
pub stream_mode: Option<StreamMode>,
pub format: Option<Format>,
pub client_selector_configuration: Option<ClientSelectorConfiguration>,
pub batch_retrieval_timeout_seconds: Option<i64>,
pub performance_configuration: Option<PerformanceConfiguration>,
/* private fields */
}
Expand description
Parameters needed to configure a stream of diagnostics information.
Fields§
§data_type: Option<DataType>
A [fuchsia.diagnostics/DataType] that specifies the diagnostics data type to stream to the client. NOTE: REQUIRED
stream_mode: Option<StreamMode>
A [fuchsia.diagnostics/StreamMode] that specifies how the streaming server provides streamed results. NOTE: REQUIRED
format: Option<Format>
A [fuchsia.diagnostics/Format] that specifies how to format the returned diagnostics data. NOTE: REQUIRED
client_selector_configuration: Option<ClientSelectorConfiguration>
Configuration specifying what results the client wants returned from their connection. The client can request a specific subset of data using a vector of provided selectors, or can specify that they want all available data. NOTE: REQUIRED
batch_retrieval_timeout_seconds: Option<i64>
Configuration specifying max number of seconds to wait for a single component to have its diagnostics data “pumped”. This value can used for testing or if you know the component you are interested is in under heavy load. If not provided, then PER_COMPONENT_ASYNC_TIMEOUT_SECONDS as defined in https://fuchsia.googlesource.com/fuchsia/+/refs/heads/master/src/diagnostics/archivist/src/constants.rs will be used. NOTE: OPTIONAL
performance_configuration: Option<PerformanceConfiguration>
Parameters which configure a diagnostics stream’s performance properties. NOTE: OPTIONAL
Trait Implementations§
Source§impl Clone for StreamParameters
impl Clone for StreamParameters
Source§fn clone(&self) -> StreamParameters
fn clone(&self) -> StreamParameters
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for StreamParameters
impl Debug for StreamParameters
Source§impl<D: ResourceDialect> Decode<StreamParameters, D> for StreamParameters
impl<D: ResourceDialect> Decode<StreamParameters, D> for StreamParameters
Source§impl Default for StreamParameters
impl Default for StreamParameters
Source§fn default() -> StreamParameters
fn default() -> StreamParameters
Source§impl<D: ResourceDialect> Encode<StreamParameters, D> for &StreamParameters
impl<D: ResourceDialect> Encode<StreamParameters, D> for &StreamParameters
Source§impl PartialEq for StreamParameters
impl PartialEq for StreamParameters
Source§impl TypeMarker for StreamParameters
impl TypeMarker for StreamParameters
Source§type Owned = StreamParameters
type Owned = StreamParameters
Source§fn inline_align(_context: Context) -> usize
fn inline_align(_context: Context) -> usize
Source§fn inline_size(_context: Context) -> usize
fn inline_size(_context: Context) -> usize
inline_align
.§fn encode_is_copy() -> bool
fn encode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and encoding requires no validation. When true, we can optimize
encoding arrays and vectors of Self::Owned
to a single memcpy. Read more§fn decode_is_copy() -> bool
fn decode_is_copy() -> bool
Self::Owned
matches the FIDL wire
format and decoding requires no validation. When true, we can optimize
decoding arrays and vectors of Self::Owned
to a single memcpy.Source§impl ValueTypeMarker for StreamParameters
impl ValueTypeMarker for StreamParameters
Source§type Borrowed<'a> = &'a StreamParameters
type Borrowed<'a> = &'a StreamParameters
Encode<Self>
type cheaply obtainable from &Self::Owned
. There are three cases: Read moreimpl Persistable for StreamParameters
impl StructuralPartialEq for StreamParameters
Auto Trait Implementations§
impl Freeze for StreamParameters
impl RefUnwindSafe for StreamParameters
impl Send for StreamParameters
impl Sync for StreamParameters
impl Unpin for StreamParameters
impl UnwindSafe for StreamParameters
Blanket Implementations§
§impl<T> Body for Twhere
T: Persistable,
impl<T> Body for Twhere
T: Persistable,
§type MarkerAtTopLevel = T
type MarkerAtTopLevel = T
§type MarkerInResultUnion = T
type MarkerInResultUnion = T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)