pub fn logs(
        &self,
        opts: &LogsOptions,
    ) -> impl Stream<Item = Result<tty::TtyChunk>> + Unpin + 'docker {
        let mut path = vec![format!("/services/{}/logs", self.name)];
        if let Some(query) = opts.serialize() {
            path.push(query)
        }

        let stream = Box::pin(self.docker.stream_get(path.join("?")));

        Box::pin(tty::decode(stream))
    }
/// Returns a stream of logs from a service
Returns a stream of logs from a service
Returns a stream of logs from a service
pub fn logs(
        &self,
        opts: &LogsOptions,
    ) -> impl Stream<Item = Result<tty::TtyChunk>> + Unpin + 'docker {
        let mut path = vec![format!("/services/{}/logs", self.name)];
        if let Some(query) = opts.serialize() {
            path.push(query)
        }
        let stream = Box::pin(self.docker.stream_get(path.join("?")));
        Box::pin(tty::decode(stream))
    }
pub fn logs ( & self , opts : & LogsOptions , ) -> impl Stream < Item = Result < tty :: TtyChunk > > + Unpin + ' docker { let mut path = vec ! [ format ( " " self name ) ] ; if let Some ( query ) = opts . serialize ( ) { path . push ( query ) } let stream = Box :: pin ( self . docker . stream_get ( path . join ( " " ) ) ) ; Box :: pin ( tty :: decode ( stream ) ) }
Returns a stream of logs from a service
Returns a stream of logs from a service
&self
opts
&LogsOptions
&self
opts
&LogsOptions