Trait usb_pd::messages::PdoState

source ·
pub trait PdoState {
    // Required method
    fn pdo_at_object_position(
        &self,
        position: u8
    ) -> Option<PowerDataObjectType>;
}

Required Methods§

Implementations on Foreign Types§

source§

impl PdoState for Option<&SourceCapabilities>

source§

impl PdoState for Option<SourceCapabilities>

source§

impl PdoState for ()

Implementors§