Enum aldrin_core::message::Message
source · pub enum Message {
Show 46 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),
}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)
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§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<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<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<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<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<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<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<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 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>
source§impl PartialEq for Message
impl PartialEq for Message
impl Eq for Message
impl StructuralEq for Message
impl StructuralPartialEq for Message
Auto Trait Implementations§
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