[−][src]Struct cassandra_cpp::Inet
Cassandra's version of an IP address
Implementations
impl Inet
[src]
pub fn cass_inet_init_v4(address: &Ipv4Addr) -> Inet
[src]
Constructs an inet v4 object.
pub fn cass_inet_init_v6(address: &Ipv6Addr) -> Inet
[src]
Constructs an inet v6 object.
Trait Implementations
impl AsRustType<Inet> for Row
[src]
fn get(&self, index: usize) -> Result<Inet>
[src]
fn get_by_name<S>(&self, name: S) -> Result<Inet> where
S: Into<String>,
[src]
S: Into<String>,
impl BindRustType<Inet> for Statement
[src]
fn bind(&mut self, index: usize, value: Inet) -> Result<&mut Self>
[src]
fn bind_by_name(&mut self, col: &str, value: Inet) -> Result<&mut Self>
[src]
impl Clone for Inet
[src]
impl Copy for Inet
[src]
impl Debug for Inet
[src]
impl Default for Inet
[src]
impl<'a> From<&'a Inet> for IpAddr
[src]
impl<'a> From<&'a IpAddr> for Inet
[src]
impl FromStr for Inet
[src]
The types of errors that can occur when trying to parse an Inet String
type Err = Error
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self>
[src]
impl PartialEq<Inet> for Inet
[src]
impl ToString for Inet
[src]
Auto Trait Implementations
impl RefUnwindSafe for Inet
impl Send for Inet
impl Sync for Inet
impl Unpin for Inet
impl UnwindSafe for Inet
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,
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> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
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>,