pub enum RegInput<'a> {
Oid(u32),
Name(&'a str),
}Expand description
What the text input of an OID alias type found.
Variants§
Oid(u32)
The input is a number, or - for OID 0. The value needs no lookup.
Name(&'a str)
The input is a name. The catalog finds the OID, with the errors of the kind.
Trait Implementations§
impl<'a> Copy for RegInput<'a>
impl<'a> Eq for RegInput<'a>
impl<'a> StructuralPartialEq for RegInput<'a>
Auto Trait Implementations§
impl<'a> Freeze for RegInput<'a>
impl<'a> RefUnwindSafe for RegInput<'a>
impl<'a> Send for RegInput<'a>
impl<'a> Sync for RegInput<'a>
impl<'a> Unpin for RegInput<'a>
impl<'a> UnsafeUnpin for RegInput<'a>
impl<'a> UnwindSafe for RegInput<'a>
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