Skip to main content
QAROS Rust API Dev (main) · versions: Dev (main) · Developer Guide

QarStructureType

Struct QarStructureType 

Source
#[repr(transparent)]
pub struct QarStructureType(pub c_int);
Expand description

@brief Structure type enumeration for init structures and extensions.

Retired codes are never reused: 0x1001 (RUNTIME_JOIN_INIT), 0x2000 (SESSION_CREATE_INIT), 0x2001 (SESSION_JOIN_INIT), 0x2002 (PEER_SPEC_INIT), 0x100B (RUNTIME_MEMBER_JOIN_REQUEST_INIT), 0x100C (RUNTIME_MEMBER_JOIN_COMPLETE_INIT), 0x2005 (the untagged SESSION_REQUEST_INVITE_INIT, refused with QAR_STATUS_ARGUMENT_NOT_SUPPORTED “app tag required”), 0x2008 (SESSION_REQUEST_ONBOARDING_CODES_INIT, removed with qar_session_request_onboarding_codes). The never-released SESSION_SPONSOR_MEMBER_INIT shared 0x2009 by mistake; 0x2009 stays PEER_DEVICE_IDENTITY.

Tuple Fields§

§0: c_int

Implementations§

Source§

impl QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_UNKNOWN: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_LIBRARY_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_REJOIN_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_FORGET_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_HOST_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_CODE_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_INVITE_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_PEER_ID_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_LOCAL_APP_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_CREATE_MEMBER_HUB_INVITATION_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_JOIN_HUB_AS_MEMBER_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_LOCAL_APP_TAG_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_EPHEMERAL_STORAGE_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_MEMBER_HUB_INVITATION_APP_GRANT_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RUNTIME_ONBOARD_REMOTE_APP_GRANT_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_SESSION_GRAPHICS_DEVICE_ID: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_SESSION_REQUEST_INVITE_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_SESSION_INVITE_TARGET_APP_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_PEER_PRESENTATION: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_PEER_DEVICE_IDENTITY: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_SESSION_LIFECYCLE_INFO: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_SESSION_GRAPHICS_DEVICE_DISABLED_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_SESSION_OPEN_QAROS_VIEW_INFO: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RENDERING_STREAM_SENDER_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RENDERING_BEGIN_FRAME: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RENDERING_END_FRAME: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RENDERING_END_FRAME_VIEW_OVERRIDES_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_VIDEO_SENDER_INIT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RENDER_SENDER_ALPHA_MODE_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RENDER_SENDER_COLOR_ENCODING_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_RENDER_SENDER_RENDER_LOOP_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_STREAM_D3D11_PARAMS_EXT: QarStructureType

Source

pub const QAR_STRUCTURE_TYPE_STREAM_OPENGL_EGL_PARAMS_EXT: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_STREAM_OPENGL_WGL_PARAMS_EXT: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_STREAM_OPENGL_GLX_PARAMS_EXT: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_STREAM_VULKAN_PARAMS_EXT: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_GUI_PANEL_INIT: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_GUI_PANEL_STREAM_ID_EXT: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_GUI_PANEL_URL_EXT: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_GUI_PANEL_SERVED_CONTENT_EXT: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_APP_VOLUME_INIT: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_APP_VOLUME_GESTURE_MAPPING_RULE: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_APP_VOLUME_GESTURE_CONFIGURATION: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Source

pub const QAR_STRUCTURE_TYPE_APP_VOLUME_GESTURE_ALLOWED_PEERS_EXT: QarStructureType

0x4001 was QarStreamParamsOpenGl, one struct for all three context types. Retired rather than reused: the layout behind it changed.

Trait Implementations§

Source§

impl Clone for QarStructureType

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for QarStructureType

Source§

impl Debug for QarStructureType

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Eq for QarStructureType

Source§

impl Hash for QarStructureType

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl PartialEq for QarStructureType

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for QarStructureType

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.