Trait Open

Source
pub trait Open: Clone {
    type OpenTarget;

    // Required method
    fn open(&self) -> Result<Self::OpenTarget>;
}
Expand description

Address that can be used to open things.

The address type decides the return type of open.

Required Associated Types§

Required Methods§

Source

fn open(&self) -> Result<Self::OpenTarget>

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§