pub struct VoidCrawlServer { /* private fields */ }Expand description
The MCP service struct. Cheap to Arc-share.
Implementations§
Source§impl VoidCrawlServer
impl VoidCrawlServer
Sourcepub fn fetch_tool_attr() -> Tool
pub fn fetch_tool_attr() -> Tool
Generated tool metadata function for fetch
pub fn fetch( &self, Parameters: Parameters<FetchArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<FetchResult>, ErrorData>> + Send + '_>>
Sourcepub fn fetch_many_tool_attr() -> Tool
pub fn fetch_many_tool_attr() -> Tool
Generated tool metadata function for fetch_many
pub fn fetch_many( &self, Parameters: Parameters<FetchManyArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<FetchManyResult>, ErrorData>> + Send + '_>>
Sourcepub fn download_tool_attr() -> Tool
pub fn download_tool_attr() -> Tool
Generated tool metadata function for download
pub fn download( &self, Parameters: Parameters<DownloadArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<DownloadResult>, ErrorData>> + Send + '_>>
Sourcepub fn download_arm_tool_attr() -> Tool
pub fn download_arm_tool_attr() -> Tool
Generated tool metadata function for download_arm
pub fn download_arm( &self, Parameters: Parameters<DownloadArmArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<DownloadArmResult>, ErrorData>> + Send + '_>>
Sourcepub fn download_wait_tool_attr() -> Tool
pub fn download_wait_tool_attr() -> Tool
Generated tool metadata function for download_wait
pub fn download_wait( &self, Parameters: Parameters<DownloadWaitArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<DownloadResult>, ErrorData>> + Send + '_>>
Sourcepub fn screenshot_tool_attr() -> Tool
pub fn screenshot_tool_attr() -> Tool
Generated tool metadata function for screenshot
pub fn screenshot( &self, Parameters: Parameters<ScreenshotArgs>, ) -> Pin<Box<dyn Future<Output = Result<CallToolResult, ErrorData>> + Send + '_>>
Sourcepub fn session_open_tool_attr() -> Tool
pub fn session_open_tool_attr() -> Tool
Generated tool metadata function for session_open
pub fn session_open( &self, Parameters: Parameters<SessionOpenArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<SessionOpenResult>, ErrorData>> + Send + '_>>
Generated tool metadata function for session_navigate
Sourcepub fn session_content_tool_attr() -> Tool
pub fn session_content_tool_attr() -> Tool
Generated tool metadata function for session_content
pub fn session_content( &self, Parameters: Parameters<SessionIdArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<SessionContentResult>, ErrorData>> + Send + '_>>
Sourcepub fn session_close_tool_attr() -> Tool
pub fn session_close_tool_attr() -> Tool
Generated tool metadata function for session_close
pub fn session_close( &self, Parameters: Parameters<SessionIdArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<SessionCloseResult>, ErrorData>> + Send + '_>>
Sourcepub fn pool_status_tool_attr() -> Tool
pub fn pool_status_tool_attr() -> Tool
Generated tool metadata function for pool_status
pub fn pool_status( &self, ) -> Pin<Box<dyn Future<Output = Result<Json<PoolStatus>, ErrorData>> + Send + '_>>
Sourcepub fn click_tool_attr() -> Tool
pub fn click_tool_attr() -> Tool
Generated tool metadata function for click
pub fn click( &self, Parameters: Parameters<ClickArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<OkResult>, ErrorData>> + Send + '_>>
Sourcepub fn teleport_tool_attr() -> Tool
pub fn teleport_tool_attr() -> Tool
Generated tool metadata function for teleport
pub fn teleport( &self, Parameters: Parameters<TeleportArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<OkResult>, ErrorData>> + Send + '_>>
Sourcepub fn click_visual_coords_tool_attr() -> Tool
pub fn click_visual_coords_tool_attr() -> Tool
Generated tool metadata function for click_visual_coords
pub fn click_visual_coords( &self, Parameters: Parameters<ClickVisualCoordsArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<OkResult>, ErrorData>> + Send + '_>>
Sourcepub fn type_text_tool_attr() -> Tool
pub fn type_text_tool_attr() -> Tool
Generated tool metadata function for type_text
pub fn type_text( &self, Parameters: Parameters<TypeTextArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<OkResult>, ErrorData>> + Send + '_>>
Sourcepub fn eval_js_tool_attr() -> Tool
pub fn eval_js_tool_attr() -> Tool
Generated tool metadata function for eval_js
pub fn eval_js( &self, Parameters: Parameters<EvalJsArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<EvalJsResult>, ErrorData>> + Send + '_>>
Sourcepub fn eval_js_in_frame_tool_attr() -> Tool
pub fn eval_js_in_frame_tool_attr() -> Tool
Generated tool metadata function for eval_js_in_frame
pub fn eval_js_in_frame( &self, Parameters: Parameters<EvalJsInFrameArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<EvalJsResult>, ErrorData>> + Send + '_>>
Sourcepub fn title_tool_attr() -> Tool
pub fn title_tool_attr() -> Tool
Generated tool metadata function for title
pub fn title( &self, Parameters: Parameters<ActionSessionIdArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<TitleResult>, ErrorData>> + Send + '_>>
Sourcepub fn extract_tool_attr() -> Tool
pub fn extract_tool_attr() -> Tool
Generated tool metadata function for extract
pub fn extract( &self, Parameters: Parameters<ExtractArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<ExtractResult>, ErrorData>> + Send + '_>>
Sourcepub fn session_ax_tree_tool_attr() -> Tool
pub fn session_ax_tree_tool_attr() -> Tool
Generated tool metadata function for session_ax_tree
pub fn session_ax_tree( &self, Parameters: Parameters<AxTreeArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<AxTreeResult>, ErrorData>> + Send + '_>>
Sourcepub fn click_by_role_tool_attr() -> Tool
pub fn click_by_role_tool_attr() -> Tool
Generated tool metadata function for click_by_role
pub fn click_by_role( &self, Parameters: Parameters<ClickByRoleArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<OkResult>, ErrorData>> + Send + '_>>
Sourcepub fn wait_for_network_idle_tool_attr() -> Tool
pub fn wait_for_network_idle_tool_attr() -> Tool
Generated tool metadata function for wait_for_network_idle
pub fn wait_for_network_idle( &self, Parameters: Parameters<WaitIdleArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<OkResult>, ErrorData>> + Send + '_>>
Sourcepub fn network_capture_tool_attr() -> Tool
pub fn network_capture_tool_attr() -> Tool
Generated tool metadata function for network_capture
pub fn network_capture( &self, Parameters: Parameters<ActionSessionIdArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<NetworkCaptureResult>, ErrorData>> + Send + '_>>
Sourcepub fn solve_captcha_tool_attr() -> Tool
pub fn solve_captcha_tool_attr() -> Tool
Generated tool metadata function for solve_captcha
pub fn solve_captcha( &self, Parameters: Parameters<SolveCaptchaArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<SolveCaptchaResult>, ErrorData>> + Send + '_>>
Sourcepub fn detect_captcha_tool_attr() -> Tool
pub fn detect_captcha_tool_attr() -> Tool
Generated tool metadata function for detect_captcha
pub fn detect_captcha( &self, Parameters: Parameters<ActionSessionIdArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<DetectCaptchaResult>, ErrorData>> + Send + '_>>
Sourcepub fn capture_captcha_tool_attr() -> Tool
pub fn capture_captcha_tool_attr() -> Tool
Generated tool metadata function for capture_captcha
pub fn capture_captcha( &self, Parameters: Parameters<ActionSessionIdArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<CaptureCaptchaResult>, ErrorData>> + Send + '_>>
Sourcepub fn inject_captcha_token_tool_attr() -> Tool
pub fn inject_captcha_token_tool_attr() -> Tool
Generated tool metadata function for inject_captcha_token
pub fn inject_captcha_token( &self, Parameters: Parameters<InjectCaptchaTokenArgs>, ) -> Pin<Box<dyn Future<Output = Result<Json<OkResult>, ErrorData>> + Send + '_>>
Trait Implementations§
Source§impl Debug for VoidCrawlServer
impl Debug for VoidCrawlServer
Source§impl ServerHandler for VoidCrawlServer
impl ServerHandler for VoidCrawlServer
fn get_info(&self) -> ServerInfo
async fn call_tool( &self, request: CallToolRequestParams, context: RequestContext<RoleServer>, ) -> Result<CallToolResult, ErrorData>
async fn list_tools( &self, _request: Option<PaginatedRequestParams>, _context: RequestContext<RoleServer>, ) -> Result<ListToolsResult, ErrorData>
fn enqueue_task( &self, _request: CallToolRequestParams, _context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<CreateTaskResult, ErrorData>> + MaybeSendFuture
fn ping( &self, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<(), ErrorData>> + MaybeSendFuture
fn initialize( &self, request: InitializeRequestParams, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<InitializeResult, ErrorData>> + MaybeSendFuture
fn complete( &self, request: CompleteRequestParams, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<CompleteResult, ErrorData>> + MaybeSendFuture
fn set_level( &self, request: SetLevelRequestParams, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<(), ErrorData>> + MaybeSendFuture
fn get_prompt( &self, request: GetPromptRequestParams, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<GetPromptResult, ErrorData>> + MaybeSendFuture
fn list_prompts( &self, request: Option<PaginatedRequestParams>, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<ListPromptsResult, ErrorData>> + MaybeSendFuture
fn list_resources( &self, request: Option<PaginatedRequestParams>, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<ListResourcesResult, ErrorData>> + MaybeSendFuture
fn list_resource_templates( &self, request: Option<PaginatedRequestParams>, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<ListResourceTemplatesResult, ErrorData>> + MaybeSendFuture
fn read_resource( &self, request: ReadResourceRequestParams, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<ReadResourceResult, ErrorData>> + MaybeSendFuture
fn subscribe( &self, request: SubscribeRequestParams, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<(), ErrorData>> + MaybeSendFuture
fn unsubscribe( &self, request: UnsubscribeRequestParams, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<(), ErrorData>> + MaybeSendFuture
fn on_custom_request( &self, request: CustomRequest, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<CustomResult, ErrorData>> + MaybeSendFuture
fn on_cancelled( &self, notification: CancelledNotificationParam, context: NotificationContext<RoleServer>, ) -> impl Future<Output = ()> + MaybeSendFuture
fn on_progress( &self, notification: ProgressNotificationParam, context: NotificationContext<RoleServer>, ) -> impl Future<Output = ()> + MaybeSendFuture
fn on_initialized( &self, context: NotificationContext<RoleServer>, ) -> impl Future<Output = ()> + MaybeSendFuture
fn on_roots_list_changed( &self, context: NotificationContext<RoleServer>, ) -> impl Future<Output = ()> + MaybeSendFuture
fn on_custom_notification( &self, notification: CustomNotification, context: NotificationContext<RoleServer>, ) -> impl Future<Output = ()> + MaybeSendFuture
fn list_tasks( &self, request: Option<PaginatedRequestParams>, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<ListTasksResult, ErrorData>> + MaybeSendFuture
fn get_task_info( &self, request: GetTaskInfoParams, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<GetTaskResult, ErrorData>> + MaybeSendFuture
fn get_task_result( &self, request: GetTaskResultParams, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<GetTaskPayloadResult, ErrorData>> + MaybeSendFuture
fn cancel_task( &self, request: CancelTaskParams, context: RequestContext<RoleServer>, ) -> impl Future<Output = Result<CancelTaskResult, ErrorData>> + MaybeSendFuture
Auto Trait Implementations§
impl !RefUnwindSafe for VoidCrawlServer
impl !UnwindSafe for VoidCrawlServer
impl Freeze for VoidCrawlServer
impl Send for VoidCrawlServer
impl Sync for VoidCrawlServer
impl Unpin for VoidCrawlServer
impl UnsafeUnpin for VoidCrawlServer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<R, S> DynService<R> for Swhere
R: ServiceRole,
S: Service<R>,
impl<R, S> DynService<R> for Swhere
R: ServiceRole,
S: Service<R>,
fn handle_request( &self, request: <R as ServiceRole>::PeerReq, context: RequestContext<R>, ) -> Pin<Box<dyn Future<Output = Result<<R as ServiceRole>::Resp, ErrorData>> + Send + '_>>
fn handle_notification( &self, notification: <R as ServiceRole>::PeerNot, context: NotificationContext<R>, ) -> Pin<Box<dyn Future<Output = Result<(), ErrorData>> + Send + '_>>
fn get_info(&self) -> <R as ServiceRole>::Info
Source§impl<T> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<H> Service<RoleServer> for Hwhere
H: ServerHandler,
impl<H> Service<RoleServer> for Hwhere
H: ServerHandler,
async fn handle_request( &self, request: <RoleServer as ServiceRole>::PeerReq, context: RequestContext<RoleServer>, ) -> Result<<RoleServer as ServiceRole>::Resp, ErrorData>
async fn handle_notification( &self, notification: <RoleServer as ServiceRole>::PeerNot, context: NotificationContext<RoleServer>, ) -> Result<(), ErrorData>
fn get_info(&self) -> <RoleServer as ServiceRole>::Info
Source§impl<S> ServiceExt<RoleServer> for Swhere
S: Service<RoleServer>,
impl<S> ServiceExt<RoleServer> for Swhere
S: Service<RoleServer>,
fn serve_with_ct<T, E, A>( self, transport: T, ct: CancellationToken, ) -> impl Future<Output = Result<RunningService<RoleServer, S>, ServerInitializeError>> + MaybeSendFuture
Source§fn into_dyn(self) -> Box<dyn DynService<R>>
fn into_dyn(self) -> Box<dyn DynService<R>>
fn serve<T, E, A>( self, transport: T, ) -> impl Future<Output = Result<RunningService<R, Self>, <R as ServiceRole>::InitializeError>> + MaybeSendFuture
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.