pub struct BoxedChatSession { /* private fields */ }
Expand description
A boxed ChatSession
.
Trait Implementations§
Source§impl ChatSession for BoxedChatSession
impl ChatSession for BoxedChatSession
Source§type Error = Box<dyn Error + Send + Sync>
type Error = Box<dyn Error + Send + Sync>
The type of error the chat session may return during operations.
Source§fn write_to(&self, into: &mut Vec<u8>) -> Result<(), Self::Error>
fn write_to(&self, into: &mut Vec<u8>) -> Result<(), Self::Error>
Serialize the session into bytes.
Auto Trait Implementations§
impl Freeze for BoxedChatSession
impl !RefUnwindSafe for BoxedChatSession
impl Send for BoxedChatSession
impl Sync for BoxedChatSession
impl Unpin for BoxedChatSession
impl !UnwindSafe for BoxedChatSession
Blanket Implementations§
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