[−][src]Struct potatonet::services::logger::Logger
日志服务
Methods
impl Logger
[src]
Trait Implementations
impl NamedService for Logger
[src]
impl Service for Logger
[src]
type Req = __RequestType_Logger
请求类型
type Rep = __ResponseTypeLogger
响应类型
type Notify = __NotifyTypeLogger
通知类型
fn call<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 NodeContext<'life2>,
request: Request<<Logger as Service>::Req>
) -> Pin<Box<dyn Future<Output = Result<Response<<Logger as Service>::Rep>, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Logger: 'async_trait,
[src]
&'life0 self,
ctx: &'life1 NodeContext<'life2>,
request: Request<<Logger as Service>::Req>
) -> Pin<Box<dyn Future<Output = Result<Response<<Logger as Service>::Rep>, Error>> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Logger: 'async_trait,
fn notify<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 NodeContext<'life2>,
request: Request<<Logger as Service>::Notify>
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Logger: 'async_trait,
[src]
&'life0 self,
ctx: &'life1 NodeContext<'life2>,
request: Request<<Logger as Service>::Notify>
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Logger: 'async_trait,
fn start<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 NodeContext<'life2>
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
ctx: &'life1 NodeContext<'life2>
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn stop<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
ctx: &'life1 NodeContext<'life2>
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
ctx: &'life1 NodeContext<'life2>
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
fn event<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ctx: &'life1 NodeContext<'life2>,
event: &'life3 Event
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
ctx: &'life1 NodeContext<'life2>,
event: &'life3 Event
) -> Pin<Box<dyn Future<Output = ()> + 'async_trait + Send>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Auto Trait Implementations
impl !RefUnwindSafe for Logger
impl Send for Logger
impl Sync for Logger
impl Unpin for Logger
impl !UnwindSafe for Logger
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,