pub enum RunnerEvent {
OnTeardown {
reason: TeardownReason,
},
OnReceivedUnknownMethod {
ordinal: u64,
unknown_method_type: UnknownMethodType,
},
OnReceivedClosedTargetOneWayNoPayload {},
OnReceivedOpenTargetStrictOneWay {},
OnReceivedOpenTargetFlexibleOneWay {},
}
Variants§
OnTeardown
Fields
§
reason: TeardownReason
OnReceivedUnknownMethod
OnReceivedClosedTargetOneWayNoPayload
OnReceivedOpenTargetStrictOneWay
OnReceivedOpenTargetFlexibleOneWay
Implementations§
Source§impl RunnerEvent
impl RunnerEvent
pub fn into_on_teardown(self) -> Option<TeardownReason>
pub fn into_on_received_unknown_method(self) -> Option<(u64, UnknownMethodType)>
pub fn into_on_received_closed_target_one_way_no_payload(self) -> Option<()>
pub fn into_on_received_open_target_strict_one_way(self) -> Option<()>
pub fn into_on_received_open_target_flexible_one_way(self) -> Option<()>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RunnerEvent
impl RefUnwindSafe for RunnerEvent
impl Send for RunnerEvent
impl Sync for RunnerEvent
impl Unpin for RunnerEvent
impl UnwindSafe for RunnerEvent
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