Trait MsgSender
Source pub trait MsgSender: Send {
// Required methods
fn box_clone(&self) -> Box<dyn MsgSender>;
fn send_message(&self, wrap: BuildClientMessageWrap);
// Provided methods
fn send_bare_message(&self, cmd_id: LiveId, level: LogLevel, line: String) { ... }
fn send_stdin_to_host_msg(&self, cmd_id: LiveId, line: String) { ... }
fn send_location_msg(
&self,
cmd_id: LiveId,
level: LogLevel,
file_name: String,
start: Position,
end: Position,
message: String,
explanation: Option<String>,
) { ... }
fn process_compiler_message(
&self,
cmd_id: LiveId,
msg: RustcCompilerMessage,
) { ... }
}
Performs copy-assignment from
source.
Read more
Formats the value using the given formatter.
Read more