Struct openssl::string::OpensslString
[−]
pub struct OpensslString(_);
Methods
impl OpensslString
[src]
pub unsafe fn from_raw_parts(buf: *mut u8, _: usize) -> OpensslString
[src]
Deprecated since 0.9.7
: use from_ptr
pub unsafe fn from_null_terminated(buf: *mut c_char) -> OpensslString
[src]
Deprecated since 0.9.7
: use from_ptr
Trait Implementations
impl ForeignType for OpensslString
type CType = c_char
The raw C type.
type Ref = OpensslStringRef
The type representing a reference to this type.
unsafe fn from_ptr(ptr: *mut c_char) -> OpensslString
Constructs an instance of this type from its raw type.
fn as_ptr(&self) -> *mut c_char
Returns a raw pointer to the wrapped value.
impl Drop for OpensslString
impl Deref for OpensslString
type Target = OpensslStringRef
The resulting type after dereferencing.
fn deref(&self) -> &OpensslStringRef
Dereferences the value.
impl DerefMut for OpensslString
fn deref_mut(&mut self) -> &mut OpensslStringRef
Mutably dereferences the value.
impl Send for OpensslString
[src]
impl Sync for OpensslString
[src]
impl Display for OpensslString
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Debug for OpensslString
[src]
impl Stackable for OpensslString
[src]
type StackType = stack_st_OPENSSL_STRING
The C stack type for this element. Read more