Struct downcast::DowncastError
[−]
[src]
pub struct DowncastError<O> { /* fields omitted */ }
Methods
impl<O> DowncastError<O>[src]
pub fn new(mismatch: TypeMismatch, object: O) -> Self[src]
pub fn type_mismatch(&self) -> TypeMismatch[src]
pub fn into_object(self) -> O[src]
Trait Implementations
impl<O> Debug for DowncastError<O>[src]
fn fmt(&self, fmt: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<O> Display for DowncastError<O>[src]
fn fmt(&self, fmt: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl<O> Error for DowncastError<O>[src]
Auto Trait Implementations
impl<O> Send for DowncastError<O> where
O: Send,
O: Send,
impl<O> Sync for DowncastError<O> where
O: Sync,
O: Sync,