pub struct Sample;Expand description
The type corresponding to the Sample protocol.
Configure Archivist to alert you periodically about the state of data
provided via SampleParameters.
If the given configuration results in a hit, a BatchIterator is sent
over the sink provided. That iterator may be drained, and then the
sink will go quiet until the next hit.
Archivist does not inform the client which data result in a success,
because it has not inherent advantaged ability to do so. Clients who
need to know which data was queried should cache their selectors and
use selectors::select_from_hierarchy (or similar in C++).
Trait Implementations§
Source§impl ClientCompatFrom<SampleProxy> for Sample
Available on Fuchsia only.
impl ClientCompatFrom<SampleProxy> for Sample
Available on Fuchsia only.
Source§fn client_compat_from(proxy: SampleProxy) -> ClientDispatcher<Self, Channel>
fn client_compat_from(proxy: SampleProxy) -> ClientDispatcher<Self, Channel>
Converts
proxy into a Client for this protocol.Source§impl CompatFrom<Sample> for SampleMarker
impl CompatFrom<Sample> for SampleMarker
Source§fn compat_from(_: Sample) -> Self
fn compat_from(_: Sample) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<SampleMarker> for Sample
impl CompatFrom<SampleMarker> for Sample
Source§fn compat_from(_: SampleMarker) -> Self
fn compat_from(_: SampleMarker) -> Self
Converts
value into a value of this type.Source§impl Discoverable for Sample
impl Discoverable for Sample
Source§const PROTOCOL_NAME: &'static str = "fuchsia.diagnostics.Sample"
const PROTOCOL_NAME: &'static str = "fuchsia.diagnostics.Sample"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Samplewhere
___H: SampleClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Samplewhere
___H: SampleClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Samplewhere
___H: SampleServerHandler<___T> + Send,
___T: Transport,
for<'de> SampleSetRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> SampleCommitRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Samplewhere
___H: SampleServerHandler<___T> + Send,
___T: Transport,
for<'de> SampleSetRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> SampleCommitRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl StructuralPartialEq for Sample
Auto Trait Implementations§
impl Freeze for Sample
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnsafeUnpin for Sample
impl UnwindSafe for Sample
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
Source§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]