windows::Win32::Devices::PortableDevices

Trait IPortableDeviceCapabilities_Impl

pub trait IPortableDeviceCapabilities_Impl: IUnknownImpl {
    // Required methods
    fn GetSupportedCommands(&self) -> Result<IPortableDeviceKeyCollection>;
    fn GetCommandOptions(
        &self,
        command: *const PROPERTYKEY,
    ) -> Result<IPortableDeviceValues>;
    fn GetFunctionalCategories(
        &self,
    ) -> Result<IPortableDevicePropVariantCollection>;
    fn GetFunctionalObjects(
        &self,
        category: *const GUID,
    ) -> Result<IPortableDevicePropVariantCollection>;
    fn GetSupportedContentTypes(
        &self,
        category: *const GUID,
    ) -> Result<IPortableDevicePropVariantCollection>;
    fn GetSupportedFormats(
        &self,
        contenttype: *const GUID,
    ) -> Result<IPortableDevicePropVariantCollection>;
    fn GetSupportedFormatProperties(
        &self,
        format: *const GUID,
    ) -> Result<IPortableDeviceKeyCollection>;
    fn GetFixedPropertyAttributes(
        &self,
        format: *const GUID,
        key: *const PROPERTYKEY,
    ) -> Result<IPortableDeviceValues>;
    fn Cancel(&self) -> Result<()>;
    fn GetSupportedEvents(&self) -> Result<IPortableDevicePropVariantCollection>;
    fn GetEventOptions(
        &self,
        event: *const GUID,
    ) -> Result<IPortableDeviceValues>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§