pub struct SampleSink;Expand description
The type corresponding to the SampleSink protocol.
SampleSink is served by the client, in order to be notified when samples
are ready.
Trait Implementations§
Source§impl ClientCompatFrom<SampleSinkProxy> for SampleSink
Available on Fuchsia only.
impl ClientCompatFrom<SampleSinkProxy> for SampleSink
Available on Fuchsia only.
Source§fn client_compat_from(proxy: SampleSinkProxy) -> ClientDispatcher<Self, Channel>
fn client_compat_from(proxy: SampleSinkProxy) -> ClientDispatcher<Self, Channel>
Converts
proxy into a Client for this protocol.Source§impl CompatFrom<SampleSink> for SampleSinkMarker
impl CompatFrom<SampleSink> for SampleSinkMarker
Source§fn compat_from(_: SampleSink) -> Self
fn compat_from(_: SampleSink) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<SampleSinkMarker> for SampleSink
impl CompatFrom<SampleSinkMarker> for SampleSink
Source§fn compat_from(_: SampleSinkMarker) -> Self
fn compat_from(_: SampleSinkMarker) -> Self
Converts
value into a value of this type.Source§impl Debug for SampleSink
impl Debug for SampleSink
Source§impl Discoverable for SampleSink
impl Discoverable for SampleSink
Source§const PROTOCOL_NAME: &'static str = "fuchsia.diagnostics.SampleSink"
const PROTOCOL_NAME: &'static str = "fuchsia.diagnostics.SampleSink"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for SampleSinkwhere
___H: SampleSinkClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for SampleSinkwhere
___H: SampleSinkClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for SampleSinkwhere
___H: SampleSinkServerHandler<___T> + Send,
___T: Transport,
for<'de> SampleSinkOnSampleReadiedRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for SampleSinkwhere
___H: SampleSinkServerHandler<___T> + Send,
___T: Transport,
for<'de> SampleSinkOnSampleReadiedRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
Source§impl<___T> HasConnectionHandles<___T> for SampleSinkwhere
___T: Transport,
impl<___T> HasConnectionHandles<___T> for SampleSinkwhere
___T: Transport,
Source§impl HasTransport for SampleSink
Available on Fuchsia only.
impl HasTransport for SampleSink
Available on Fuchsia only.
Source§impl PartialEq for SampleSink
impl PartialEq for SampleSink
impl StructuralPartialEq for SampleSink
Auto Trait Implementations§
impl Freeze for SampleSink
impl RefUnwindSafe for SampleSink
impl Send for SampleSink
impl Sync for SampleSink
impl Unpin for SampleSink
impl UnsafeUnpin for SampleSink
impl UnwindSafe for SampleSink
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]