pub enum ResultFromClient {
CreateMessageResult(CreateMessageResult),
ListRootsResult(ListRootsResult),
ElicitResult(ElicitResult),
Result(Result),
}Variants§
CreateMessageResult(CreateMessageResult)
ListRootsResult(ListRootsResult)
ElicitResult(ElicitResult)
Result(Result)
Trait Implementations§
Source§impl Clone for ResultFromClient
impl Clone for ResultFromClient
Source§fn clone(&self) -> ResultFromClient
fn clone(&self) -> ResultFromClient
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ResultFromClient
impl Debug for ResultFromClient
Source§impl<'de> Deserialize<'de> for ResultFromClient
impl<'de> Deserialize<'de> for ResultFromClient
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResultFromClient, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ResultFromClient, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<CreateMessageResult> for ResultFromClient
BEGIN AUTO GENERATED
impl From<CreateMessageResult> for ResultFromClient
BEGIN AUTO GENERATED
Source§fn from(value: CreateMessageResult) -> ResultFromClient
fn from(value: CreateMessageResult) -> ResultFromClient
Converts to this type from the input type.
Source§impl From<ElicitResult> for ResultFromClient
impl From<ElicitResult> for ResultFromClient
Source§fn from(value: ElicitResult) -> ResultFromClient
fn from(value: ElicitResult) -> ResultFromClient
Converts to this type from the input type.
Source§impl From<ListRootsResult> for ResultFromClient
impl From<ListRootsResult> for ResultFromClient
Source§fn from(value: ListRootsResult) -> ResultFromClient
fn from(value: ListRootsResult) -> ResultFromClient
Converts to this type from the input type.
Source§impl From<Result> for ResultFromClient
impl From<Result> for ResultFromClient
Source§fn from(value: Result) -> ResultFromClient
fn from(value: Result) -> ResultFromClient
Converts to this type from the input type.
Source§impl From<ResultFromClient> for MessageFromClient
impl From<ResultFromClient> for MessageFromClient
Source§fn from(value: ResultFromClient) -> MessageFromClient
fn from(value: ResultFromClient) -> MessageFromClient
Converts to this type from the input type.
Source§impl Serialize for ResultFromClient
impl Serialize for ResultFromClient
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Source§impl TryFrom<ResultFromClient> for CreateMessageResult
impl TryFrom<ResultFromClient> for CreateMessageResult
Source§fn try_from(
value: ResultFromClient,
) -> Result<CreateMessageResult, <CreateMessageResult as TryFrom<ResultFromClient>>::Error>
fn try_from( value: ResultFromClient, ) -> Result<CreateMessageResult, <CreateMessageResult as TryFrom<ResultFromClient>>::Error>
Performs the conversion.
Source§impl TryFrom<ResultFromClient> for ListRootsResult
impl TryFrom<ResultFromClient> for ListRootsResult
Source§fn try_from(
value: ResultFromClient,
) -> Result<ListRootsResult, <ListRootsResult as TryFrom<ResultFromClient>>::Error>
fn try_from( value: ResultFromClient, ) -> Result<ListRootsResult, <ListRootsResult as TryFrom<ResultFromClient>>::Error>
Performs the conversion.
Source§impl TryFrom<ResultFromClient> for ElicitResult
impl TryFrom<ResultFromClient> for ElicitResult
Source§fn try_from(
value: ResultFromClient,
) -> Result<ElicitResult, <ElicitResult as TryFrom<ResultFromClient>>::Error>
fn try_from( value: ResultFromClient, ) -> Result<ElicitResult, <ElicitResult as TryFrom<ResultFromClient>>::Error>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for ResultFromClient
impl RefUnwindSafe for ResultFromClient
impl Send for ResultFromClient
impl Sync for ResultFromClient
impl Unpin for ResultFromClient
impl UnsafeUnpin for ResultFromClient
impl UnwindSafe for ResultFromClient
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