Enum odbc_api::buffers::Indicator [−][src]
Indicates existence and length of a value.
Variants
Field does not exist
Field exists, but its length had not be reported by the driver.
Length(usize)
Fields exists. Value indicates number of bytes required to store the value. In case of truncated data, this is the true length of the data, before truncation occurred.
Implementations
impl Indicator
[src]
pub fn from_isize(indicator: isize) -> Self
[src]
Creates an indicator from an isize
indicator value returned by ODBC. Users of this crate
have likely no need to call this method.
pub fn to_isize(self) -> isize
[src]
Creates an indicator value as required by the ODBC C API.
Trait Implementations
impl Clone for Indicator
[src]
impl Copy for Indicator
[src]
impl Debug for Indicator
[src]
impl Eq for Indicator
[src]
impl PartialEq<Indicator> for Indicator
[src]
impl StructuralEq for Indicator
[src]
impl StructuralPartialEq for Indicator
[src]
Auto Trait Implementations
impl RefUnwindSafe for Indicator
impl Send for Indicator
impl Sync for Indicator
impl Unpin for Indicator
impl UnwindSafe for Indicator
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,