pub struct ConnBuilder<C> { /* private fields */ }Expand description
Conn のビルダー型
Implementations§
Source§impl<C: Connector> ConnBuilder<C>
impl<C: Connector> ConnBuilder<C>
Sourcepub fn compression(self, compression: Compression) -> Self
pub fn compression(self, compression: Compression) -> Self
圧縮方法を設定
Sourcepub fn project_uuid<T: Into<Option<Uuid>>>(self, project_uuid: T) -> Self
pub fn project_uuid<T: Into<Option<Uuid>>>(self, project_uuid: T) -> Self
プロジェクトUUIDを設定
Sourcepub fn ping_interval(self, ping_interval: Duration) -> Self
pub fn ping_interval(self, ping_interval: Duration) -> Self
Ping間隔を設定
Sourcepub fn ping_timeout(self, ping_timeout: Duration) -> Self
pub fn ping_timeout(self, ping_timeout: Duration) -> Self
Pingタイムアウトを設定
Sourcepub fn response_message_timeout(
self,
response_message_timeout: Duration,
) -> Self
pub fn response_message_timeout( self, response_message_timeout: Duration, ) -> Self
返信タイムアウトを設定
Sourcepub fn e2e_call_reply_timeout(self, e2e_call_reply_timeout: Duration) -> Self
pub fn e2e_call_reply_timeout(self, e2e_call_reply_timeout: Duration) -> Self
E2Eコールのリプライコール待ちタイムアウトを設定
Sourcepub fn token_source<T: Into<Option<TS>>, TS: TokenSource>(
self,
token_source: T,
) -> Self
pub fn token_source<T: Into<Option<TS>>, TS: TokenSource>( self, token_source: T, ) -> Self
トークンソースを設定
Trait Implementations§
Source§impl<C: Clone> Clone for ConnBuilder<C>
impl<C: Clone> Clone for ConnBuilder<C>
Source§fn clone(&self) -> ConnBuilder<C>
fn clone(&self) -> ConnBuilder<C>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<C> Freeze for ConnBuilder<C>where
C: Freeze,
impl<C> RefUnwindSafe for ConnBuilder<C>where
C: RefUnwindSafe,
impl<C> Send for ConnBuilder<C>where
C: Send,
impl<C> Sync for ConnBuilder<C>where
C: Sync,
impl<C> Unpin for ConnBuilder<C>where
C: Unpin,
impl<C> UnsafeUnpin for ConnBuilder<C>where
C: UnsafeUnpin,
impl<C> UnwindSafe for ConnBuilder<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more