pub trait AsProtoState {
type Output;
// Required method
fn as_proto(&self) -> Self::Output;
}Expand description
Abstraction over a state which can be transformed to the states from the
medea_client_api_proto::state.
Required Associated Types§
Sourcetype Output
type Output
medea_client_api_proto::state into which this state can be
transformed.
Required Methods§
Sourcefn as_proto(&self) -> Self::Output
fn as_proto(&self) -> Self::Output
Converts this state to the medea_client_api_proto::state
representation.