Struct windows::Gaming::XboxLive::Storage::GameSaveProvider
pub struct GameSaveProvider(/* private fields */);
Implementations§
§impl GameSaveProvider
impl GameSaveProvider
pub fn User(&self) -> Result<User>
pub fn CreateContainer(&self, name: &HSTRING) -> Result<GameSaveContainer>
pub fn DeleteContainerAsync( &self, name: &HSTRING, ) -> Result<IAsyncOperation<GameSaveOperationResult>>
pub fn CreateContainerInfoQuery(&self) -> Result<GameSaveContainerInfoQuery>
pub fn CreateContainerInfoQueryWithName( &self, containernameprefix: &HSTRING, ) -> Result<GameSaveContainerInfoQuery>
pub fn GetRemainingBytesInQuotaAsync(&self) -> Result<IAsyncOperation<i64>>
pub fn ContainersChangedSinceLastSync(&self) -> Result<IVectorView<HSTRING>>
pub fn GetForUserAsync<P0>(
user: P0,
serviceconfigid: &HSTRING,
) -> Result<IAsyncOperation<GameSaveProviderGetResult>>where
P0: Param<User>,
pub fn GetSyncOnDemandForUserAsync<P0>(
user: P0,
serviceconfigid: &HSTRING,
) -> Result<IAsyncOperation<GameSaveProviderGetResult>>where
P0: Param<User>,
Trait Implementations§
§impl CanInto<IInspectable> for GameSaveProvider
impl CanInto<IInspectable> for GameSaveProvider
§impl CanInto<IUnknown> for GameSaveProvider
impl CanInto<IUnknown> for GameSaveProvider
§impl Clone for GameSaveProvider
impl Clone for GameSaveProvider
§fn clone(&self) -> GameSaveProvider
fn clone(&self) -> GameSaveProvider
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 more§impl Debug for GameSaveProvider
impl Debug for GameSaveProvider
§impl From<&GameSaveProvider> for &IInspectable
impl From<&GameSaveProvider> for &IInspectable
§fn from(value: &GameSaveProvider) -> Self
fn from(value: &GameSaveProvider) -> Self
Converts to this type from the input type.
§impl From<&GameSaveProvider> for &IUnknown
impl From<&GameSaveProvider> for &IUnknown
§fn from(value: &GameSaveProvider) -> Self
fn from(value: &GameSaveProvider) -> Self
Converts to this type from the input type.
§impl From<GameSaveProvider> for IInspectable
impl From<GameSaveProvider> for IInspectable
§fn from(value: GameSaveProvider) -> Self
fn from(value: GameSaveProvider) -> Self
Converts to this type from the input type.
§impl From<GameSaveProvider> for IUnknown
impl From<GameSaveProvider> for IUnknown
§fn from(value: GameSaveProvider) -> Self
fn from(value: GameSaveProvider) -> Self
Converts to this type from the input type.
§impl Interface for GameSaveProvider
impl Interface for GameSaveProvider
§const IID: GUID = <IGameSaveProvider as windows_core::Interface>::IID
const IID: GUID = <IGameSaveProvider as windows_core::Interface>::IID
The
GUID
associated with the interface.§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for GameSaveProvider
impl PartialEq for GameSaveProvider
§fn eq(&self, other: &GameSaveProvider) -> bool
fn eq(&self, other: &GameSaveProvider) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GameSaveProvider
impl Send for GameSaveProvider
impl StructuralPartialEq for GameSaveProvider
impl Sync for GameSaveProvider
Auto Trait Implementations§
impl Freeze for GameSaveProvider
impl RefUnwindSafe for GameSaveProvider
impl Unpin for GameSaveProvider
impl UnwindSafe for GameSaveProvider
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)