Enum get_resources::ged::GuestEmulationRequest
source · pub enum GuestEmulationRequest {
WaitForConnect(Rpc<(), ()>),
WaitForVtl0Start(Rpc<(), Result<(), Vtl0StartError>>),
SaveGuestVtl2State(Rpc<(), Result<(), SaveRestoreError>>),
ModifyVtl2Settings(Rpc<Vec<u8>, Result<(), ModifyVtl2SettingsError>>),
}
Expand description
Actions a client can request that the Guest Emulation Device perform.
Variants§
WaitForConnect(Rpc<(), ()>)
Wait for VTL2 to connect to the GET.
WaitForVtl0Start(Rpc<(), Result<(), Vtl0StartError>>)
Wait for VTL2 to start VTL0.
SaveGuestVtl2State(Rpc<(), Result<(), SaveRestoreError>>)
Save VTL2 state.
ModifyVtl2Settings(Rpc<Vec<u8>, Result<(), ModifyVtl2SettingsError>>)
Update the VTL2 settings.
Trait Implementations§
source§impl DefaultEncoding for GuestEmulationRequest
impl DefaultEncoding for GuestEmulationRequest
source§type Encoding = OneofEncoder
type Encoding = OneofEncoder
The encoding to use for the serialization. Read more
source§impl<'encoding> OneofDecode<'encoding, Resource> for GuestEmulationRequest
impl<'encoding> OneofDecode<'encoding, Resource> for GuestEmulationRequest
source§fn read_variant(
item: &mut InplaceOption<'_, Self>,
n: u32,
field: FieldReader<'encoding, '_, Resource>,
) -> Result<()>
fn read_variant( item: &mut InplaceOption<'_, Self>, n: u32, field: FieldReader<'encoding, '_, Resource>, ) -> Result<()>
Read the specified variant from the reader.
source§impl OneofEncode<Resource> for GuestEmulationRequest
impl OneofEncode<Resource> for GuestEmulationRequest
source§fn write_variant(self, writer: MessageWriter<'_, '_, Resource>)
fn write_variant(self, writer: MessageWriter<'_, '_, Resource>)
Write the variant to the writer.
source§fn compute_variant_size(&mut self, sizer: MessageSizer<'_>)
fn compute_variant_size(&mut self, sizer: MessageSizer<'_>)
Compute the size of the variant.
impl Downcast<GuestEmulationRequest> for GuestEmulationRequest
Auto Trait Implementations§
impl Freeze for GuestEmulationRequest
impl !RefUnwindSafe for GuestEmulationRequest
impl Send for GuestEmulationRequest
impl Sync for GuestEmulationRequest
impl Unpin for GuestEmulationRequest
impl !UnwindSafe for GuestEmulationRequest
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MeshField for Twhere
T: DefaultEncoding + Any + Send + 'static,
<T as DefaultEncoding>::Encoding: FieldEncode<T, Resource> + for<'a> FieldDecode<'a, T, Resource> + Send + Sync,
impl<T> MeshField for Twhere
T: DefaultEncoding + Any + Send + 'static,
<T as DefaultEncoding>::Encoding: FieldEncode<T, Resource> + for<'a> FieldDecode<'a, T, Resource> + Send + Sync,
type Encoding = <T as DefaultEncoding>::Encoding
source§impl<T> MeshPayload for Twhere
T: DefaultEncoding + Any + Send + 'static,
<T as DefaultEncoding>::Encoding: MessageEncode<T, Resource> + for<'a> MessageDecode<'a, T, Resource> + FieldEncode<T, Resource> + for<'a> FieldDecode<'a, T, Resource> + Send + Sync,
impl<T> MeshPayload for Twhere
T: DefaultEncoding + Any + Send + 'static,
<T as DefaultEncoding>::Encoding: MessageEncode<T, Resource> + for<'a> MessageDecode<'a, T, Resource> + FieldEncode<T, Resource> + for<'a> FieldDecode<'a, T, Resource> + Send + Sync,
type Encoding = <T as DefaultEncoding>::Encoding
source§impl<T> SerializeMessage for Twhere
T: MeshPayload,
impl<T> SerializeMessage for Twhere
T: MeshPayload,
source§fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
fn compute_message_size(&mut self, sizer: MessageSizer<'_>)
Computes the message size, as in
MessageEncode::compute_message_size
.source§fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
fn write_message(self, writer: MessageWriter<'_, '_, Resource>)
Writes the message, as in
MessageEncode::write_message
.source§fn extract(self) -> <T as SerializeMessage>::Concrete
fn extract(self) -> <T as SerializeMessage>::Concrete
Extract the concrete message.