Struct usiagent::player::OnKeepAlive [−][src]
pub struct OnKeepAlive<W, L> where
W: USIOutputWriter + Send + 'static,
L: Logger + Send + 'static, { /* fields omitted */ }
Expand description
KeepAliveSender
の実装
Implementations
impl<W, L> OnKeepAlive<W, L> where
W: USIOutputWriter + Send + 'static,
L: Logger + Send + 'static,
impl<W, L> OnKeepAlive<W, L> where
W: USIOutputWriter + Send + 'static,
L: Logger + Send + 'static,
pub fn new(
writer: Arc<Mutex<W>>,
on_error_handler: Arc<Mutex<OnErrorHandler<L>>>
) -> OnKeepAlive<W, L>
pub fn new(
writer: Arc<Mutex<W>>,
on_error_handler: Arc<Mutex<OnErrorHandler<L>>>
) -> OnKeepAlive<W, L>
OnKeepAlive
の生成
Arguments
writer
- USIコマンドを出力するためのオブジェクト。実装によって標準出力以外へ書き込むものを指定することも可能。on_error_handler
- エラーをログファイルなどに出力するためのオブジェクト
Trait Implementations
impl<W, L> Clone for OnKeepAlive<W, L> where
W: USIOutputWriter + Send + 'static,
L: Logger + Send + 'static,
impl<W, L> Clone for OnKeepAlive<W, L> where
W: USIOutputWriter + Send + 'static,
L: Logger + Send + 'static,
impl<W, L> KeepAliveSender for OnKeepAlive<W, L> where
W: USIOutputWriter + Send + 'static,
L: Logger + Send + 'static,
impl<W, L> KeepAliveSender for OnKeepAlive<W, L> where
W: USIOutputWriter + Send + 'static,
L: Logger + Send + 'static,
Auto Trait Implementations
impl<W, L> RefUnwindSafe for OnKeepAlive<W, L>
impl<W, L> Send for OnKeepAlive<W, L>
impl<W, L> Sync for OnKeepAlive<W, L>
impl<W, L> Unpin for OnKeepAlive<W, L>
impl<W, L> UnwindSafe for OnKeepAlive<W, L>
Blanket Implementations
Mutably borrows from an owned value. Read more