Struct cyfs_lib::RouterEventResponse
source · [−]pub struct RouterEventResponse<RESP> where
RESP: Send + Sync + 'static + JsonCodec<RESP> + Display, {
pub handled: bool,
pub call_next: bool,
pub response: Option<BuckyResult<RESP>>,
}
Fields
handled: bool
call_next: bool
response: Option<BuckyResult<RESP>>
Trait Implementations
sourceimpl<RESP> Display for RouterEventResponse<RESP> where
RESP: Send + Sync + 'static + JsonCodec<RESP> + Display,
impl<RESP> Display for RouterEventResponse<RESP> where
RESP: Send + Sync + 'static + JsonCodec<RESP> + Display,
sourceimpl<RESP> JsonCodec<RouterEventResponse<RESP>> for RouterEventResponse<RESP> where
RESP: Send + Sync + 'static + JsonCodec<RESP> + Display,
impl<RESP> JsonCodec<RouterEventResponse<RESP>> for RouterEventResponse<RESP> where
RESP: Send + Sync + 'static + JsonCodec<RESP> + Display,
fn encode_json(&self) -> Map<String, Value>
fn decode_json(req_obj: &Map<String, Value>) -> BuckyResult<Self>
fn encode_string(&self) -> String
fn decode_string(value: &str) -> Result<T, BuckyError>
fn decode_value(value: &Value) -> Result<T, BuckyError>
fn encode_value(&self) -> Value
Auto Trait Implementations
impl<RESP> !RefUnwindSafe for RouterEventResponse<RESP>
impl<RESP> Send for RouterEventResponse<RESP>
impl<RESP> Sync for RouterEventResponse<RESP>
impl<RESP> Unpin for RouterEventResponse<RESP> where
RESP: Unpin,
impl<RESP> !UnwindSafe for RouterEventResponse<RESP>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more