pub struct Store;Expand description
The type corresponding to the Store protocol. A very basic key-value store - so basic, in fact, that one may only write to it, never read!
Trait Implementations§
Source§impl ClientCompatFrom<StoreProxy> for Store
Available on Fuchsia only.
impl ClientCompatFrom<StoreProxy> for Store
Available on Fuchsia only.
Source§fn client_compat_from(proxy: StoreProxy) -> ClientDispatcher<Self, Channel>
fn client_compat_from(proxy: StoreProxy) -> ClientDispatcher<Self, Channel>
Converts
proxy into a Client for this protocol.Source§impl CompatFrom<Store> for StoreMarker
impl CompatFrom<Store> for StoreMarker
Source§fn compat_from(_: Store) -> Self
fn compat_from(_: Store) -> Self
Converts
value into a value of this type.Source§impl CompatFrom<StoreMarker> for Store
impl CompatFrom<StoreMarker> for Store
Source§fn compat_from(_: StoreMarker) -> Self
fn compat_from(_: StoreMarker) -> Self
Converts
value into a value of this type.Source§impl Discoverable for Store
impl Discoverable for Store
Source§const PROTOCOL_NAME: &'static str = "examples.keyvaluestore.supportexports.Store"
const PROTOCOL_NAME: &'static str = "examples.keyvaluestore.supportexports.Store"
The service name to use to connect to this discoverable protocol.
Source§impl<___H, ___T> DispatchClientMessage<___H, ___T> for Storewhere
___H: StoreClientHandler<___T> + Send,
___T: Transport,
impl<___H, ___T> DispatchClientMessage<___H, ___T> for Storewhere
___H: StoreClientHandler<___T> + Send,
___T: Transport,
Source§impl<___H, ___T> DispatchServerMessage<___H, ___T> for Storewhere
___H: StoreServerHandler<___T> + Send,
___T: Transport,
for<'de> StoreWriteItemRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> StoreExportRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl<___H, ___T> DispatchServerMessage<___H, ___T> for Storewhere
___H: StoreServerHandler<___T> + Send,
___T: Transport,
for<'de> StoreWriteItemRequest<'de>: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
for<'de> StoreExportRequest: Decode<<<___T as Transport>::RecvBuffer as AsDecoder<'de>>::Decoder, Constraint = ()>,
impl StructuralPartialEq for Store
Auto Trait Implementations§
impl Freeze for Store
impl RefUnwindSafe for Store
impl Send for Store
impl Sync for Store
impl Unpin for Store
impl UnsafeUnpin for Store
impl UnwindSafe for Store
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]