pub struct ResultEitherBridge {
pub convention: &'static str,
pub flip_convention: bool,
pub tag: u8,
}Expand description
Bridge between Result<T,E> and Either<E,T> representations.
Fields§
§convention: &'static str§flip_convention: bool§tag: u8Implementations§
Auto Trait Implementations§
impl Freeze for ResultEitherBridge
impl RefUnwindSafe for ResultEitherBridge
impl Send for ResultEitherBridge
impl Sync for ResultEitherBridge
impl Unpin for ResultEitherBridge
impl UnsafeUnpin for ResultEitherBridge
impl UnwindSafe for ResultEitherBridge
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