MCPcopy Create free account
hub / github.com/Botloader/botloader / add_backend

Method add_backend

components/guild-logger/src/lib.rs:75–81  ·  view source on GitHub ↗
(
        mut self,
        backend: Arc<T>,
    )

Source from the content-addressed store, hash-verified

73 }
74
75 pub fn add_backend<T: GuildLoggerBackend + Send + Sync + 'static>(
76 mut self,
77 backend: Arc<T>,
78 ) -> Self {
79 self.backends.push(backend);
80 self
81 }
82
83 pub fn run(self) -> LogSender {
84 let (tx, rx) = unbounded_channel();

Callers 4

runFunction · 0.80
runFunction · 0.80
run_full_benchFunction · 0.80
newMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected