pub struct OperatorInfo { /* private fields */ }Expand description
Metadata for operator, users can use this metadata to get information of operator.
Implementations§
Source§impl OperatorInfo
impl OperatorInfo
Sourcepub fn name(&self) -> String
pub fn name(&self) -> String
Name of backend, could be empty if underlying backend doesn’t have namespace concept.
For example:
- name for
s3=> bucket name - name for
azblob=> container name
Sourcepub fn capability(&self) -> Capability
pub fn capability(&self) -> Capability
Get effective capability of operator.
Trait Implementations§
Source§impl Clone for OperatorInfo
impl Clone for OperatorInfo
Source§fn clone(&self) -> OperatorInfo
fn clone(&self) -> OperatorInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OperatorInfo
impl RefUnwindSafe for OperatorInfo
impl Send for OperatorInfo
impl Sync for OperatorInfo
impl Unpin for OperatorInfo
impl UnsafeUnpin for OperatorInfo
impl UnwindSafe for OperatorInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more