Enum iroh_rpc_types::gateway::GatewayResponse
source · pub enum GatewayResponse {
Watch(WatchResponse),
Version(VersionResponse),
UnitResult(RpcResult<()>),
}
Variants§
Trait Implementations§
source§impl Debug for GatewayResponse
impl Debug for GatewayResponse
source§impl<'de> Deserialize<'de> for GatewayResponse
impl<'de> Deserialize<'de> for GatewayResponse
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
source§impl From<VersionResponse> for GatewayResponse
impl From<VersionResponse> for GatewayResponse
source§fn from(original: VersionResponse) -> GatewayResponse
fn from(original: VersionResponse) -> GatewayResponse
Converts to this type from the input type.
source§impl From<WatchResponse> for GatewayResponse
impl From<WatchResponse> for GatewayResponse
source§fn from(original: WatchResponse) -> GatewayResponse
fn from(original: WatchResponse) -> GatewayResponse
Converts to this type from the input type.