pub struct CreateSession {
pub resource: ResourceId,
pub session_nb: u16,
}Expand description
create_session() (Table 8) — host → module, length=6.
Fields§
§resource: ResourceIdThe resource_identifier().
session_nb: u16session_nb allocated for the session.
Trait Implementations§
Source§impl Clone for CreateSession
impl Clone for CreateSession
Source§fn clone(&self) -> CreateSession
fn clone(&self) -> CreateSession
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 CreateSession
Source§impl Debug for CreateSession
impl Debug for CreateSession
impl Eq for CreateSession
Source§impl<'a> Parse<'a> for CreateSession
impl<'a> Parse<'a> for CreateSession
Source§impl PartialEq for CreateSession
impl PartialEq for CreateSession
Source§fn eq(&self, other: &CreateSession) -> bool
fn eq(&self, other: &CreateSession) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CreateSession
impl Serialize for CreateSession
Source§impl Serialize for CreateSession
impl Serialize for CreateSession
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 CreateSession
Auto Trait Implementations§
impl Freeze for CreateSession
impl RefUnwindSafe for CreateSession
impl Send for CreateSession
impl Sync for CreateSession
impl Unpin for CreateSession
impl UnsafeUnpin for CreateSession
impl UnwindSafe for CreateSession
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