pub struct SessionLaunched {
pub id: u64,
pub supported_streaming_resolutions: Vec<Size>,
}
Expand description
§014 - Session Launched
This message, which must originate from the server on the same stream as the
corresponding 013 - Launch Session
message, indicates that the session has
successfully launched and may be attached.
Fields§
§id: u64
Required.
supported_streaming_resolutions: Vec<Size>
Required. Must include at least the render_resolution
specified in the
corresponding 013 - Launch Session
message.
Trait Implementations§
Source§impl Clone for SessionLaunched
impl Clone for SessionLaunched
Source§fn clone(&self) -> SessionLaunched
fn clone(&self) -> SessionLaunched
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SessionLaunched
impl Debug for SessionLaunched
Source§impl Default for SessionLaunched
impl Default for SessionLaunched
Source§impl From<SessionLaunched> for MessageType
impl From<SessionLaunched> for MessageType
Source§fn from(v: SessionLaunched) -> Self
fn from(v: SessionLaunched) -> Self
Converts to this type from the input type.
Source§impl Message for SessionLaunched
impl Message for SessionLaunched
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self
. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for SessionLaunched
impl PartialEq for SessionLaunched
impl StructuralPartialEq for SessionLaunched
Auto Trait Implementations§
impl Freeze for SessionLaunched
impl RefUnwindSafe for SessionLaunched
impl Send for SessionLaunched
impl Sync for SessionLaunched
impl Unpin for SessionLaunched
impl UnwindSafe for SessionLaunched
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