pub struct StdioDescriptor {
pub protocol_version: u32,
pub abi_major: u32,
pub abi_minor: u32,
pub component_id: String,
pub component_version: String,
pub feature_set_hash: String,
pub provides: Vec<ComponentProvidedContract>,
}Expand description
Metadata returned as JSON inside the successful describe response payload. A protocol-2
descriptor may also carry max_in_flight, which the runtime reads separately so this type stays
exactly the protocol-1 shape.
Fields§
§protocol_version: u32§abi_major: u32§abi_minor: u32§component_id: String§component_version: String§feature_set_hash: String§provides: Vec<ComponentProvidedContract>Trait Implementations§
Source§impl Clone for StdioDescriptor
impl Clone for StdioDescriptor
Source§impl Debug for StdioDescriptor
impl Debug for StdioDescriptor
Source§impl<'de> Deserialize<'de> for StdioDescriptor
impl<'de> Deserialize<'de> for StdioDescriptor
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for StdioDescriptor
impl Freeze for StdioDescriptorwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<ComponentProvidedContract>: Freeze,
impl Move for StdioDescriptor
impl RefUnwindSafe for StdioDescriptor
impl Send for StdioDescriptorwhere
RawVecInner: Send,
impl Sync for StdioDescriptorwhere
RawVecInner: Sync,
impl Unpin for StdioDescriptor
impl UnsafeUnpin for StdioDescriptorwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ComponentProvidedContract>: UnsafeUnpin,
impl UnwindSafe for StdioDescriptorwhere
RawVecInner: UnwindSafe,
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