Struct epicbox::broker::stomp::session_builder::SessionBuilder [−][src]
pub struct SessionBuilder {
pub config: SessionConfig,
}Fields
config: SessionConfigImplementations
pub fn build<T>(
self,
conn: Box<dyn Future<Item = T, Error = IoError> + Send>
) -> Session<T> where
T: AsyncWrite + AsyncRead + Send + 'static,
pub fn with<'b, O>(self, option_setter: O) -> SessionBuilder where
O: OptionSetter<SessionBuilder>,
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SessionBuilder
impl Send for SessionBuilder
impl Sync for SessionBuilder
impl Unpin for SessionBuilder
impl UnwindSafe for SessionBuilder
Blanket Implementations
Mutably borrows from an owned value. Read more
impl<T> SafeBorrow<T> for T where
T: ?Sized,
impl<T> SafeBorrow<T> for T where
T: ?Sized,
pub fn borrow_replacement(ptr: &T) -> &T
pub fn borrow_replacement(ptr: &T) -> &T
Given ptr, which was obtained from a prior call to Self::borrow(),
return a value with the same nominal lifetime which is guaranteed to
survive mutations to Self. Read more