pub struct BindingIterator { /* private fields */ }Expand description
A stub for CosNaming::BindingIterator, from NamingContext::list.
Call destroy when done; dropping the stub
leaves the iterator in the naming service.
Implementations§
Source§impl BindingIterator
impl BindingIterator
Sourcepub fn narrow(
obj: ObjectRef,
) -> Result<Option<BindingIterator>, SystemException>
pub fn narrow( obj: ObjectRef, ) -> Result<Option<BindingIterator>, SystemException>
Narrows obj to a binding iterator: None if it is not one.
Sourcepub fn next_one(&self) -> Result<Option<Binding>, NamingError>
pub fn next_one(&self) -> Result<Option<Binding>, NamingError>
next_one: the next binding, or None at the end.
Sourcepub fn next_n(&self, how_many: u32) -> Result<(bool, Vec<Binding>), NamingError>
pub fn next_n(&self, how_many: u32) -> Result<(bool, Vec<Binding>), NamingError>
next_n: up to how_many more bindings, and whether any were
returned (false at the end).
Sourcepub fn destroy(&self) -> Result<(), NamingError>
pub fn destroy(&self) -> Result<(), NamingError>
destroy: releases the iterator in the naming service.
Trait Implementations§
Source§impl Clone for BindingIterator
impl Clone for BindingIterator
Auto Trait Implementations§
impl !RefUnwindSafe for BindingIterator
impl !UnwindSafe for BindingIterator
impl Freeze for BindingIterator
impl Send for BindingIterator
impl Sync for BindingIterator
impl Unpin for BindingIterator
impl UnsafeUnpin for BindingIterator
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