pub struct McfunctionDebugAdapter { /* private fields */ }Implementations§
Source§impl McfunctionDebugAdapter
impl McfunctionDebugAdapter
pub fn new( message_sender: UnboundedSender<Either<ProtocolMessage, LogEvent>>, ) -> Self
Trait Implementations§
Source§impl DebugAdapter for McfunctionDebugAdapter
impl DebugAdapter for McfunctionDebugAdapter
type Message = LogEvent
type CustomError = Error
fn handle_other_message<'life0, 'async_trait>(
&'life0 mut self,
msg: Self::Message,
context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<(), Self::CustomError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn continue_<'life0, 'async_trait>(
&'life0 mut self,
_args: ContinueRequestArguments,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<ContinueResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn evaluate<'life0, 'async_trait>(
&'life0 mut self,
_args: EvaluateRequestArguments,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<EvaluateResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn initialize<'life0, 'async_trait>(
&'life0 mut self,
args: InitializeRequestArguments,
context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<Capabilities, RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn launch<'life0, 'async_trait>(
&'life0 mut self,
args: LaunchRequestArguments,
context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn next<'life0, 'async_trait>(
&'life0 mut self,
_args: NextRequestArguments,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn pause<'life0, 'async_trait>(
&'life0 mut self,
_args: PauseRequestArguments,
context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn scopes<'life0, 'async_trait>(
&'life0 mut self,
args: ScopesRequestArguments,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<ScopesResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_breakpoints<'life0, 'async_trait>(
&'life0 mut self,
args: SetBreakpointsRequestArguments,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<SetBreakpointsResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn stack_trace<'life0, 'async_trait>(
&'life0 mut self,
_args: StackTraceRequestArguments,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<StackTraceResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn terminate<'life0, 'async_trait>(
&'life0 mut self,
_args: TerminateRequestArguments,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn step_in<'life0, 'async_trait>(
&'life0 mut self,
_args: StepInRequestArguments,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn step_out<'life0, 'async_trait>(
&'life0 mut self,
_args: StepOutRequestArguments,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn threads<'life0, 'async_trait>(
&'life0 mut self,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<ThreadsResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn variables<'life0, 'async_trait>(
&'life0 mut self,
args: VariablesRequestArguments,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<VariablesResponseBody, RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn map_custom_error(e: Self::CustomError) -> RequestError<Self::CustomError>
fn handle_client_request<'life0, 'async_trait>(
&'life0 mut self,
request: Request,
context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<SuccessResponse, RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
fn configuration_done<'life0, 'async_trait>(
&'life0 mut self,
_context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
fn disconnect<'life0, 'async_trait>(
&'life0 mut self,
_args: DisconnectRequestArguments,
context: impl 'async_trait + DebugAdapterContext + Send,
) -> Pin<Box<dyn Future<Output = Result<(), RequestError<Self::CustomError>>> + Send + 'async_trait>>where
Self: Send + 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for McfunctionDebugAdapter
impl RefUnwindSafe for McfunctionDebugAdapter
impl Send for McfunctionDebugAdapter
impl Sync for McfunctionDebugAdapter
impl Unpin for McfunctionDebugAdapter
impl UnsafeUnpin for McfunctionDebugAdapter
impl UnwindSafe for McfunctionDebugAdapter
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