pub struct OpenSessionResponse {
pub status: SessionStatus,
pub resource: ResourceId,
pub session_nb: u16,
}Expand description
open_session_response() (Table 6) — host → module, length=7.
Fields§
§status: SessionStatussession_status.
resource: ResourceIdThe resource_identifier().
session_nb: u16session_nb (0 reserved; meaningless when status != ok).
Trait Implementations§
Source§impl Clone for OpenSessionResponse
impl Clone for OpenSessionResponse
Source§fn clone(&self) -> OpenSessionResponse
fn clone(&self) -> OpenSessionResponse
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 moreimpl Copy for OpenSessionResponse
Source§impl Debug for OpenSessionResponse
impl Debug for OpenSessionResponse
impl Eq for OpenSessionResponse
Source§impl<'a> Parse<'a> for OpenSessionResponse
impl<'a> Parse<'a> for OpenSessionResponse
Source§impl PartialEq for OpenSessionResponse
impl PartialEq for OpenSessionResponse
Source§fn eq(&self, other: &OpenSessionResponse) -> bool
fn eq(&self, other: &OpenSessionResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OpenSessionResponse
impl Serialize for OpenSessionResponse
Source§impl Serialize for OpenSessionResponse
impl Serialize for OpenSessionResponse
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl StructuralPartialEq for OpenSessionResponse
Auto Trait Implementations§
impl Freeze for OpenSessionResponse
impl RefUnwindSafe for OpenSessionResponse
impl Send for OpenSessionResponse
impl Sync for OpenSessionResponse
impl Unpin for OpenSessionResponse
impl UnsafeUnpin for OpenSessionResponse
impl UnwindSafe for OpenSessionResponse
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