pub struct ClientResponse { /* private fields */ }Implementations§
Source§impl ClientResponse
impl ClientResponse
pub fn new( packet: ResponsePacket, response_context: Option<ResponseContext>, ) -> Self
pub fn packet(self) -> ResponsePacket
pub fn response_context(&self) -> Option<&ResponseContext>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ClientResponse
impl RefUnwindSafe for ClientResponse
impl Send for ClientResponse
impl Sync for ClientResponse
impl Unpin for ClientResponse
impl UnsafeUnpin for ClientResponse
impl UnwindSafe for ClientResponse
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