pub struct EdgeResponse {
pub seq_id: u32,
pub result: EdgeResult<EdgeResponseEnum, EdgeError>,
}Fields§
§seq_id: u32§result: EdgeResult<EdgeResponseEnum, EdgeError>Implementations§
Source§impl EdgeResponse
impl EdgeResponse
pub fn from_result( id: u32, result: Result<EdgeResponseEnum, EdgeError>, ) -> EdgeResponse
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for EdgeResponse
impl<'__de, __Context> BorrowDecode<'__de, __Context> for EdgeResponse
Source§fn borrow_decode<__D>(decoder: &mut __D) -> Result<EdgeResponse, DecodeError>where
__D: BorrowDecoder<'__de, Context = __Context>,
fn borrow_decode<__D>(decoder: &mut __D) -> Result<EdgeResponse, DecodeError>where
__D: BorrowDecoder<'__de, Context = __Context>,
Attempt to decode this type with the given BorrowDecode.
Source§impl Clone for EdgeResponse
impl Clone for EdgeResponse
Source§fn clone(&self) -> EdgeResponse
fn clone(&self) -> EdgeResponse
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 EdgeResponse
impl Debug for EdgeResponse
Source§impl<__Context> Decode<__Context> for EdgeResponse
impl<__Context> Decode<__Context> for EdgeResponse
Source§fn decode<__D>(decoder: &mut __D) -> Result<EdgeResponse, DecodeError>where
__D: Decoder<Context = __Context>,
fn decode<__D>(decoder: &mut __D) -> Result<EdgeResponse, DecodeError>where
__D: Decoder<Context = __Context>,
Attempt to decode this type with the given Decode.
Source§impl<'de> Deserialize<'de> for EdgeResponse
impl<'de> Deserialize<'de> for EdgeResponse
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EdgeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EdgeResponse, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Encode for EdgeResponse
impl Encode for EdgeResponse
Source§impl Serialize for EdgeResponse
impl Serialize for EdgeResponse
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
Auto Trait Implementations§
impl Freeze for EdgeResponse
impl RefUnwindSafe for EdgeResponse
impl Send for EdgeResponse
impl Sync for EdgeResponse
impl Unpin for EdgeResponse
impl UnsafeUnpin for EdgeResponse
impl UnwindSafe for EdgeResponse
Blanket Implementations§
impl<T> AppData for Twhere
T: OptionalSend + OptionalSync + 'static + OptionalSerde,
impl<T> AppDataResponse for Twhere
T: OptionalSend + OptionalSync + 'static + OptionalSerde,
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