Struct rad::rados::Context [] [src]

pub struct Context { /* fields omitted */ }

A wrapper around a rados_ioctx_t, which also counts as a reference to the underlying Connection.

Methods

impl Context
[src]

[src]

Fetch an extended attribute on a given RADOS object using rados_getxattr.

  • size - the size in bytes of the extended attribute.

[src]

Set an extended attribute on a given RADOS object using rados_setxattr.

[src]

Write to a RADOS object using rados_write.

[src]

Write the entirety of a RADOS object, overwriting if necessary, using rados_write_full.

[src]

Append to a RADOS object using rados_append.

[src]

Read from a RADOS object using rados_read.

[src]

Delete a RADOS object using rados_remove.

[src]

Resize a RADOS object, filling with zeroes if necessary, using rados_trunc.

[src]

Get the statistics of a given RADOS object using rados_stat.

[src]

Asynchronously write to a RADOS object using rados_aio_write.

[src]

Asynchronously append to a RADOS object using rados_aio_append.

[src]

Asynchronously set the contents of a RADOS object using rados_aio_write_full.

[src]

Asynchronously remove a RADOS object from the cluster using rados_aio_remove.

[src]

Asynchronously read from a RADOS object using rados_aio_read.

[src]

Asynchronously retrieve statistics of a specific object from the cluster using rados_aio_stat.

[src]

Check whether or not a RADOS object exists under a given name, using rados_stat and checking the error code for ENOENT.

[src]

Asynchronously check for object existence by using rados_aio_stat and checking for ENOENT.

[src]

Flush all asynchronous I/O actions on the given context, blocking until they are complete.

[src]

Construct a future which will complete when all I/O actions on the given context are complete.

Trait Implementations

impl Send for Context
[src]

impl Drop for Context
[src]

[src]

Executes the destructor for this type. Read more