pub enum Message {
Show 63 variants
Connect(Connect),
ConnectReply(ConnectReply),
Shutdown(Shutdown),
CreateObject(CreateObject),
CreateObjectReply(CreateObjectReply),
DestroyObject(DestroyObject),
DestroyObjectReply(DestroyObjectReply),
CreateService(CreateService),
CreateServiceReply(CreateServiceReply),
DestroyService(DestroyService),
DestroyServiceReply(DestroyServiceReply),
CallFunction(CallFunction),
CallFunctionReply(CallFunctionReply),
SubscribeEvent(SubscribeEvent),
SubscribeEventReply(SubscribeEventReply),
UnsubscribeEvent(UnsubscribeEvent),
EmitEvent(EmitEvent),
QueryServiceVersion(QueryServiceVersion),
QueryServiceVersionReply(QueryServiceVersionReply),
CreateChannel(CreateChannel),
CreateChannelReply(CreateChannelReply),
CloseChannelEnd(CloseChannelEnd),
CloseChannelEndReply(CloseChannelEndReply),
ChannelEndClosed(ChannelEndClosed),
ClaimChannelEnd(ClaimChannelEnd),
ClaimChannelEndReply(ClaimChannelEndReply),
ChannelEndClaimed(ChannelEndClaimed),
SendItem(SendItem),
ItemReceived(ItemReceived),
AddChannelCapacity(AddChannelCapacity),
Sync(Sync),
SyncReply(SyncReply),
ServiceDestroyed(ServiceDestroyed),
CreateBusListener(CreateBusListener),
CreateBusListenerReply(CreateBusListenerReply),
DestroyBusListener(DestroyBusListener),
DestroyBusListenerReply(DestroyBusListenerReply),
AddBusListenerFilter(AddBusListenerFilter),
RemoveBusListenerFilter(RemoveBusListenerFilter),
ClearBusListenerFilters(ClearBusListenerFilters),
StartBusListener(StartBusListener),
StartBusListenerReply(StartBusListenerReply),
StopBusListener(StopBusListener),
StopBusListenerReply(StopBusListenerReply),
EmitBusEvent(EmitBusEvent),
BusListenerCurrentFinished(BusListenerCurrentFinished),
Connect2(Connect2),
ConnectReply2(ConnectReply2),
AbortFunctionCall(AbortFunctionCall),
RegisterIntrospection(RegisterIntrospection),
QueryIntrospection(QueryIntrospection),
QueryIntrospectionReply(QueryIntrospectionReply),
CreateService2(CreateService2),
QueryServiceInfo(QueryServiceInfo),
QueryServiceInfoReply(QueryServiceInfoReply),
SubscribeService(SubscribeService),
SubscribeServiceReply(SubscribeServiceReply),
UnsubscribeService(UnsubscribeService),
SubscribeAllEvents(SubscribeAllEvents),
SubscribeAllEventsReply(SubscribeAllEventsReply),
UnsubscribeAllEvents(UnsubscribeAllEvents),
UnsubscribeAllEventsReply(UnsubscribeAllEventsReply),
CallFunction2(CallFunction2),
}
Variants§
Connect(Connect)
ConnectReply(ConnectReply)
Shutdown(Shutdown)
CreateObject(CreateObject)
CreateObjectReply(CreateObjectReply)
DestroyObject(DestroyObject)
DestroyObjectReply(DestroyObjectReply)
CreateService(CreateService)
CreateServiceReply(CreateServiceReply)
DestroyService(DestroyService)
DestroyServiceReply(DestroyServiceReply)
CallFunction(CallFunction)
CallFunctionReply(CallFunctionReply)
SubscribeEvent(SubscribeEvent)
SubscribeEventReply(SubscribeEventReply)
UnsubscribeEvent(UnsubscribeEvent)
EmitEvent(EmitEvent)
QueryServiceVersion(QueryServiceVersion)
QueryServiceVersionReply(QueryServiceVersionReply)
CreateChannel(CreateChannel)
CreateChannelReply(CreateChannelReply)
CloseChannelEnd(CloseChannelEnd)
CloseChannelEndReply(CloseChannelEndReply)
ChannelEndClosed(ChannelEndClosed)
ClaimChannelEnd(ClaimChannelEnd)
ClaimChannelEndReply(ClaimChannelEndReply)
ChannelEndClaimed(ChannelEndClaimed)
SendItem(SendItem)
ItemReceived(ItemReceived)
AddChannelCapacity(AddChannelCapacity)
Sync(Sync)
SyncReply(SyncReply)
ServiceDestroyed(ServiceDestroyed)
CreateBusListener(CreateBusListener)
CreateBusListenerReply(CreateBusListenerReply)
DestroyBusListener(DestroyBusListener)
DestroyBusListenerReply(DestroyBusListenerReply)
AddBusListenerFilter(AddBusListenerFilter)
RemoveBusListenerFilter(RemoveBusListenerFilter)
ClearBusListenerFilters(ClearBusListenerFilters)
StartBusListener(StartBusListener)
StartBusListenerReply(StartBusListenerReply)
StopBusListener(StopBusListener)
StopBusListenerReply(StopBusListenerReply)
EmitBusEvent(EmitBusEvent)
BusListenerCurrentFinished(BusListenerCurrentFinished)
Connect2(Connect2)
ConnectReply2(ConnectReply2)
AbortFunctionCall(AbortFunctionCall)
RegisterIntrospection(RegisterIntrospection)
QueryIntrospection(QueryIntrospection)
QueryIntrospectionReply(QueryIntrospectionReply)
CreateService2(CreateService2)
QueryServiceInfo(QueryServiceInfo)
QueryServiceInfoReply(QueryServiceInfoReply)
SubscribeService(SubscribeService)
SubscribeServiceReply(SubscribeServiceReply)
UnsubscribeService(UnsubscribeService)
SubscribeAllEvents(SubscribeAllEvents)
SubscribeAllEventsReply(SubscribeAllEventsReply)
UnsubscribeAllEvents(UnsubscribeAllEvents)
UnsubscribeAllEventsReply(UnsubscribeAllEventsReply)
CallFunction2(CallFunction2)
Trait Implementations§
Source§impl<'arbitrary> Arbitrary<'arbitrary> for Message
impl<'arbitrary> Arbitrary<'arbitrary> for Message
Source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moreSource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moreSource§fn size_hint(depth: usize) -> (usize, Option<usize>)
fn size_hint(depth: usize) -> (usize, Option<usize>)
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§fn try_size_hint(
depth: usize,
) -> Result<(usize, Option<usize>), MaxRecursionReached>
fn try_size_hint( depth: usize, ) -> Result<(usize, Option<usize>), MaxRecursionReached>
Get a size hint for how many bytes out of an
Unstructured
this type
needs to construct itself. Read moreSource§impl From<AbortFunctionCall> for Message
impl From<AbortFunctionCall> for Message
Source§fn from(msg: AbortFunctionCall) -> Self
fn from(msg: AbortFunctionCall) -> Self
Converts to this type from the input type.
Source§impl From<AddBusListenerFilter> for Message
impl From<AddBusListenerFilter> for Message
Source§fn from(msg: AddBusListenerFilter) -> Self
fn from(msg: AddBusListenerFilter) -> Self
Converts to this type from the input type.
Source§impl From<AddChannelCapacity> for Message
impl From<AddChannelCapacity> for Message
Source§fn from(msg: AddChannelCapacity) -> Self
fn from(msg: AddChannelCapacity) -> Self
Converts to this type from the input type.
Source§impl From<BusListenerCurrentFinished> for Message
impl From<BusListenerCurrentFinished> for Message
Source§fn from(msg: BusListenerCurrentFinished) -> Self
fn from(msg: BusListenerCurrentFinished) -> Self
Converts to this type from the input type.
Source§impl From<CallFunction> for Message
impl From<CallFunction> for Message
Source§fn from(msg: CallFunction) -> Self
fn from(msg: CallFunction) -> Self
Converts to this type from the input type.
Source§impl From<CallFunction2> for Message
impl From<CallFunction2> for Message
Source§fn from(msg: CallFunction2) -> Self
fn from(msg: CallFunction2) -> Self
Converts to this type from the input type.
Source§impl From<CallFunctionReply> for Message
impl From<CallFunctionReply> for Message
Source§fn from(msg: CallFunctionReply) -> Self
fn from(msg: CallFunctionReply) -> Self
Converts to this type from the input type.
Source§impl From<ChannelEndClaimed> for Message
impl From<ChannelEndClaimed> for Message
Source§fn from(msg: ChannelEndClaimed) -> Self
fn from(msg: ChannelEndClaimed) -> Self
Converts to this type from the input type.
Source§impl From<ChannelEndClosed> for Message
impl From<ChannelEndClosed> for Message
Source§fn from(msg: ChannelEndClosed) -> Self
fn from(msg: ChannelEndClosed) -> Self
Converts to this type from the input type.
Source§impl From<ClaimChannelEnd> for Message
impl From<ClaimChannelEnd> for Message
Source§fn from(msg: ClaimChannelEnd) -> Self
fn from(msg: ClaimChannelEnd) -> Self
Converts to this type from the input type.
Source§impl From<ClaimChannelEndReply> for Message
impl From<ClaimChannelEndReply> for Message
Source§fn from(msg: ClaimChannelEndReply) -> Self
fn from(msg: ClaimChannelEndReply) -> Self
Converts to this type from the input type.
Source§impl From<ClearBusListenerFilters> for Message
impl From<ClearBusListenerFilters> for Message
Source§fn from(msg: ClearBusListenerFilters) -> Self
fn from(msg: ClearBusListenerFilters) -> Self
Converts to this type from the input type.
Source§impl From<CloseChannelEnd> for Message
impl From<CloseChannelEnd> for Message
Source§fn from(msg: CloseChannelEnd) -> Self
fn from(msg: CloseChannelEnd) -> Self
Converts to this type from the input type.
Source§impl From<CloseChannelEndReply> for Message
impl From<CloseChannelEndReply> for Message
Source§fn from(msg: CloseChannelEndReply) -> Self
fn from(msg: CloseChannelEndReply) -> Self
Converts to this type from the input type.
Source§impl From<ConnectReply> for Message
impl From<ConnectReply> for Message
Source§fn from(msg: ConnectReply) -> Self
fn from(msg: ConnectReply) -> Self
Converts to this type from the input type.
Source§impl From<ConnectReply2> for Message
impl From<ConnectReply2> for Message
Source§fn from(msg: ConnectReply2) -> Self
fn from(msg: ConnectReply2) -> Self
Converts to this type from the input type.
Source§impl From<CreateBusListener> for Message
impl From<CreateBusListener> for Message
Source§fn from(msg: CreateBusListener) -> Self
fn from(msg: CreateBusListener) -> Self
Converts to this type from the input type.
Source§impl From<CreateBusListenerReply> for Message
impl From<CreateBusListenerReply> for Message
Source§fn from(msg: CreateBusListenerReply) -> Self
fn from(msg: CreateBusListenerReply) -> Self
Converts to this type from the input type.
Source§impl From<CreateChannel> for Message
impl From<CreateChannel> for Message
Source§fn from(msg: CreateChannel) -> Self
fn from(msg: CreateChannel) -> Self
Converts to this type from the input type.
Source§impl From<CreateChannelReply> for Message
impl From<CreateChannelReply> for Message
Source§fn from(msg: CreateChannelReply) -> Self
fn from(msg: CreateChannelReply) -> Self
Converts to this type from the input type.
Source§impl From<CreateObject> for Message
impl From<CreateObject> for Message
Source§fn from(msg: CreateObject) -> Self
fn from(msg: CreateObject) -> Self
Converts to this type from the input type.
Source§impl From<CreateObjectReply> for Message
impl From<CreateObjectReply> for Message
Source§fn from(msg: CreateObjectReply) -> Self
fn from(msg: CreateObjectReply) -> Self
Converts to this type from the input type.
Source§impl From<CreateService> for Message
impl From<CreateService> for Message
Source§fn from(msg: CreateService) -> Self
fn from(msg: CreateService) -> Self
Converts to this type from the input type.
Source§impl From<CreateService2> for Message
impl From<CreateService2> for Message
Source§fn from(msg: CreateService2) -> Self
fn from(msg: CreateService2) -> Self
Converts to this type from the input type.
Source§impl From<CreateServiceReply> for Message
impl From<CreateServiceReply> for Message
Source§fn from(msg: CreateServiceReply) -> Self
fn from(msg: CreateServiceReply) -> Self
Converts to this type from the input type.
Source§impl From<DestroyBusListener> for Message
impl From<DestroyBusListener> for Message
Source§fn from(msg: DestroyBusListener) -> Self
fn from(msg: DestroyBusListener) -> Self
Converts to this type from the input type.
Source§impl From<DestroyBusListenerReply> for Message
impl From<DestroyBusListenerReply> for Message
Source§fn from(msg: DestroyBusListenerReply) -> Self
fn from(msg: DestroyBusListenerReply) -> Self
Converts to this type from the input type.
Source§impl From<DestroyObject> for Message
impl From<DestroyObject> for Message
Source§fn from(msg: DestroyObject) -> Self
fn from(msg: DestroyObject) -> Self
Converts to this type from the input type.
Source§impl From<DestroyObjectReply> for Message
impl From<DestroyObjectReply> for Message
Source§fn from(msg: DestroyObjectReply) -> Self
fn from(msg: DestroyObjectReply) -> Self
Converts to this type from the input type.
Source§impl From<DestroyService> for Message
impl From<DestroyService> for Message
Source§fn from(msg: DestroyService) -> Self
fn from(msg: DestroyService) -> Self
Converts to this type from the input type.
Source§impl From<DestroyServiceReply> for Message
impl From<DestroyServiceReply> for Message
Source§fn from(msg: DestroyServiceReply) -> Self
fn from(msg: DestroyServiceReply) -> Self
Converts to this type from the input type.
Source§impl From<EmitBusEvent> for Message
impl From<EmitBusEvent> for Message
Source§fn from(msg: EmitBusEvent) -> Self
fn from(msg: EmitBusEvent) -> Self
Converts to this type from the input type.
Source§impl From<ItemReceived> for Message
impl From<ItemReceived> for Message
Source§fn from(msg: ItemReceived) -> Self
fn from(msg: ItemReceived) -> Self
Converts to this type from the input type.
Source§impl From<QueryIntrospection> for Message
impl From<QueryIntrospection> for Message
Source§fn from(msg: QueryIntrospection) -> Self
fn from(msg: QueryIntrospection) -> Self
Converts to this type from the input type.
Source§impl From<QueryIntrospectionReply> for Message
impl From<QueryIntrospectionReply> for Message
Source§fn from(msg: QueryIntrospectionReply) -> Self
fn from(msg: QueryIntrospectionReply) -> Self
Converts to this type from the input type.
Source§impl From<QueryServiceInfo> for Message
impl From<QueryServiceInfo> for Message
Source§fn from(msg: QueryServiceInfo) -> Self
fn from(msg: QueryServiceInfo) -> Self
Converts to this type from the input type.
Source§impl From<QueryServiceInfoReply> for Message
impl From<QueryServiceInfoReply> for Message
Source§fn from(msg: QueryServiceInfoReply) -> Self
fn from(msg: QueryServiceInfoReply) -> Self
Converts to this type from the input type.
Source§impl From<QueryServiceVersion> for Message
impl From<QueryServiceVersion> for Message
Source§fn from(msg: QueryServiceVersion) -> Self
fn from(msg: QueryServiceVersion) -> Self
Converts to this type from the input type.
Source§impl From<QueryServiceVersionReply> for Message
impl From<QueryServiceVersionReply> for Message
Source§fn from(msg: QueryServiceVersionReply) -> Self
fn from(msg: QueryServiceVersionReply) -> Self
Converts to this type from the input type.
Source§impl From<RegisterIntrospection> for Message
impl From<RegisterIntrospection> for Message
Source§fn from(msg: RegisterIntrospection) -> Self
fn from(msg: RegisterIntrospection) -> Self
Converts to this type from the input type.
Source§impl From<RemoveBusListenerFilter> for Message
impl From<RemoveBusListenerFilter> for Message
Source§fn from(msg: RemoveBusListenerFilter) -> Self
fn from(msg: RemoveBusListenerFilter) -> Self
Converts to this type from the input type.
Source§impl From<ServiceDestroyed> for Message
impl From<ServiceDestroyed> for Message
Source§fn from(msg: ServiceDestroyed) -> Self
fn from(msg: ServiceDestroyed) -> Self
Converts to this type from the input type.
Source§impl From<StartBusListener> for Message
impl From<StartBusListener> for Message
Source§fn from(msg: StartBusListener) -> Self
fn from(msg: StartBusListener) -> Self
Converts to this type from the input type.
Source§impl From<StartBusListenerReply> for Message
impl From<StartBusListenerReply> for Message
Source§fn from(msg: StartBusListenerReply) -> Self
fn from(msg: StartBusListenerReply) -> Self
Converts to this type from the input type.
Source§impl From<StopBusListener> for Message
impl From<StopBusListener> for Message
Source§fn from(msg: StopBusListener) -> Self
fn from(msg: StopBusListener) -> Self
Converts to this type from the input type.
Source§impl From<StopBusListenerReply> for Message
impl From<StopBusListenerReply> for Message
Source§fn from(msg: StopBusListenerReply) -> Self
fn from(msg: StopBusListenerReply) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeAllEvents> for Message
impl From<SubscribeAllEvents> for Message
Source§fn from(msg: SubscribeAllEvents) -> Self
fn from(msg: SubscribeAllEvents) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeAllEventsReply> for Message
impl From<SubscribeAllEventsReply> for Message
Source§fn from(msg: SubscribeAllEventsReply) -> Self
fn from(msg: SubscribeAllEventsReply) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeEvent> for Message
impl From<SubscribeEvent> for Message
Source§fn from(msg: SubscribeEvent) -> Self
fn from(msg: SubscribeEvent) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeEventReply> for Message
impl From<SubscribeEventReply> for Message
Source§fn from(msg: SubscribeEventReply) -> Self
fn from(msg: SubscribeEventReply) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeService> for Message
impl From<SubscribeService> for Message
Source§fn from(msg: SubscribeService) -> Self
fn from(msg: SubscribeService) -> Self
Converts to this type from the input type.
Source§impl From<SubscribeServiceReply> for Message
impl From<SubscribeServiceReply> for Message
Source§fn from(msg: SubscribeServiceReply) -> Self
fn from(msg: SubscribeServiceReply) -> Self
Converts to this type from the input type.
Source§impl From<UnsubscribeAllEvents> for Message
impl From<UnsubscribeAllEvents> for Message
Source§fn from(msg: UnsubscribeAllEvents) -> Self
fn from(msg: UnsubscribeAllEvents) -> Self
Converts to this type from the input type.
Source§impl From<UnsubscribeAllEventsReply> for Message
impl From<UnsubscribeAllEventsReply> for Message
Source§fn from(msg: UnsubscribeAllEventsReply) -> Self
fn from(msg: UnsubscribeAllEventsReply) -> Self
Converts to this type from the input type.
Source§impl From<UnsubscribeEvent> for Message
impl From<UnsubscribeEvent> for Message
Source§fn from(msg: UnsubscribeEvent) -> Self
fn from(msg: UnsubscribeEvent) -> Self
Converts to this type from the input type.
Source§impl From<UnsubscribeService> for Message
impl From<UnsubscribeService> for Message
Source§fn from(msg: UnsubscribeService) -> Self
fn from(msg: UnsubscribeService) -> Self
Converts to this type from the input type.
Source§impl MessageOps for Message
impl MessageOps for Message
fn kind(&self) -> MessageKind
fn serialize_message(self) -> Result<BytesMut, MessageSerializeError>
fn deserialize_message(buf: BytesMut) -> Result<Self, MessageDeserializeError>
fn value(&self) -> Option<&SerializedValueSlice>
impl Eq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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