pub enum Response {
Response(Vec<u8>),
ResponseInfo(Vec<u8>, Vec<u8>),
Forward(String, Vec<u8>, Vec<u8>),
Forward_(String, Vec<u8>, Vec<u8>, Timeout, Priority),
Null(),
NullError(&'static str),
}Expand description
service request callback function return type
Variants§
Response(Vec<u8>)
ResponseInfo(Vec<u8>, Vec<u8>)
Forward(String, Vec<u8>, Vec<u8>)
Forward_(String, Vec<u8>, Vec<u8>, Timeout, Priority)
Null()
NullError(&'static str)
Trait Implementations§
Source§impl Ord for Response
impl Ord for Response
Source§impl PartialOrd for Response
impl PartialOrd for Response
impl Eq for Response
impl StructuralPartialEq for Response
Auto Trait Implementations§
impl Freeze for Response
impl RefUnwindSafe for Response
impl Send for Response
impl Sync for Response
impl Unpin for Response
impl UnwindSafe for Response
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