pub enum ExceptHandler {
ExceptHandler(ExceptHandlerExceptHandler),
}Expand description
See also excepthandler
Variants§
ExceptHandler(ExceptHandlerExceptHandler)
Implementations§
Source§impl ExceptHandler
impl ExceptHandler
pub const fn is_except_handler(&self) -> bool
pub fn except_handler(self) -> Option<ExceptHandlerExceptHandler>
pub fn expect_except_handler(self) -> ExceptHandlerExceptHandler
pub fn as_except_handler_mut( &mut self, ) -> Option<&mut ExceptHandlerExceptHandler>
pub fn as_except_handler(&self) -> Option<&ExceptHandlerExceptHandler>
Trait Implementations§
Source§impl Clone for ExceptHandler
impl Clone for ExceptHandler
Source§fn clone(&self) -> ExceptHandler
fn clone(&self) -> ExceptHandler
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExceptHandler
impl Debug for ExceptHandler
Source§impl<'a> From<&'a ExceptHandler> for AnyNodeRef<'a>
impl<'a> From<&'a ExceptHandler> for AnyNodeRef<'a>
Source§fn from(node: &'a ExceptHandler) -> AnyNodeRef<'a>
fn from(node: &'a ExceptHandler) -> AnyNodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ExceptHandler> for AnyRootNodeRef<'a>
impl<'a> From<&'a ExceptHandler> for AnyRootNodeRef<'a>
Source§fn from(node: &'a ExceptHandler) -> AnyRootNodeRef<'a>
fn from(node: &'a ExceptHandler) -> AnyRootNodeRef<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ExceptHandler> for ComparableExceptHandler<'a>
impl<'a> From<&'a ExceptHandler> for ComparableExceptHandler<'a>
Source§fn from(except_handler: &'a ExceptHandler) -> ComparableExceptHandler<'a>
fn from(except_handler: &'a ExceptHandler) -> ComparableExceptHandler<'a>
Converts to this type from the input type.
Source§impl<'a> From<&'a ExceptHandler> for ExceptHandlerRef<'a>
impl<'a> From<&'a ExceptHandler> for ExceptHandlerRef<'a>
Source§fn from(node: &'a ExceptHandler) -> ExceptHandlerRef<'a>
fn from(node: &'a ExceptHandler) -> ExceptHandlerRef<'a>
Converts to this type from the input type.
Source§impl From<ExceptHandlerExceptHandler> for ExceptHandler
impl From<ExceptHandlerExceptHandler> for ExceptHandler
Source§fn from(node: ExceptHandlerExceptHandler) -> ExceptHandler
fn from(node: ExceptHandlerExceptHandler) -> ExceptHandler
Converts to this type from the input type.
Source§impl GetSize for ExceptHandler
impl GetSize for ExceptHandler
Source§fn get_heap_size(&self) -> usize
fn get_heap_size(&self) -> usize
Determines how many bytes this object occupies inside the heap. Read more
Source§fn get_heap_size_with_tracker<TRACKER>(
&self,
tracker: TRACKER,
) -> (usize, TRACKER)where
TRACKER: GetSizeTracker,
fn get_heap_size_with_tracker<TRACKER>(
&self,
tracker: TRACKER,
) -> (usize, TRACKER)where
TRACKER: GetSizeTracker,
Determines how many bytes this object occupies inside the heap while using a
tracker. Read moreSource§fn get_stack_size() -> usize
fn get_stack_size() -> usize
Determines how may bytes this object occupies inside the stack. Read more
Source§fn get_size_with_tracker<T>(&self, tracker: T) -> (usize, T)where
T: GetSizeTracker,
fn get_size_with_tracker<T>(&self, tracker: T) -> (usize, T)where
T: GetSizeTracker,
Determines the total size of the object while using a
tracker. Read moreSource§impl HasNodeIndex for ExceptHandler
impl HasNodeIndex for ExceptHandler
Source§fn node_index(&self) -> &AtomicNodeIndex
fn node_index(&self) -> &AtomicNodeIndex
Returns the
AtomicNodeIndex for this node.Source§impl PartialEq for ExceptHandler
impl PartialEq for ExceptHandler
Source§impl Ranged for ExceptHandler
impl Ranged for ExceptHandler
Source§impl<'a> TryFrom<AnyRootNodeRef<'a>> for &'a ExceptHandler
impl<'a> TryFrom<AnyRootNodeRef<'a>> for &'a ExceptHandler
impl StructuralPartialEq for ExceptHandler
Auto Trait Implementations§
impl !Freeze for ExceptHandler
impl RefUnwindSafe for ExceptHandler
impl Send for ExceptHandler
impl Sync for ExceptHandler
impl Unpin for ExceptHandler
impl UnsafeUnpin for ExceptHandler
impl UnwindSafe for ExceptHandler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more