Struct McfunctionDebugAdapter

Source
pub struct McfunctionDebugAdapter { /* private fields */ }

Implementations§

Trait Implementations§

Source§

impl DebugAdapter for McfunctionDebugAdapter

Source§

type Message = LogEvent

Source§

type CustomError = Error

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

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,

Source§

fn map_custom_error(e: Self::CustomError) -> RequestError<Self::CustomError>

Source§

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,

Source§

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,

Source§

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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.