Struct discord_cassandra_cpp::Inet
source · [−]#[repr(C)]pub struct Inet(_);
Expand description
Cassandra’s version of an IP address
Implementations
sourceimpl Inet
impl Inet
sourcepub fn cass_inet_init_v4(address: &Ipv4Addr) -> Inet
pub fn cass_inet_init_v4(address: &Ipv4Addr) -> Inet
Constructs an inet v4 object.
sourcepub fn cass_inet_init_v6(address: &Ipv6Addr) -> Inet
pub fn cass_inet_init_v6(address: &Ipv6Addr) -> Inet
Constructs an inet v6 object.
Trait Implementations
sourceimpl AsRustType<Inet> for Row<'_>
impl AsRustType<Inet> for Row<'_>
sourceimpl<S> BindRustType<S, Inet> for Statement<S>
impl<S> BindRustType<S, Inet> for Statement<S>
impl Copy for Inet
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more