Skip to main content

FocusOrCreateTabResponse

Type Alias FocusOrCreateTabResponse 

Source
pub type FocusOrCreateTabResponse = Option<usize>;

Aliased Type§

pub enum FocusOrCreateTabResponse {
    None,
    Some(usize),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(usize)

Some value of type T.

Trait Implementations§

Source§

impl TryFrom<FocusOrCreateTabResponse> for FocusOrCreateTabResponse

Source§

type Error = &'static str

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

fn try_from( protobuf: ProtobufFocusOrCreateTabResponse, ) -> Result<Self, Self::Error>

Performs the conversion.