pub struct MutableConnection<DirectoryType: MutableDirectory> { /* private fields */ }
Implementations§
Source§impl<DirectoryType: MutableDirectory> MutableConnection<DirectoryType>
impl<DirectoryType: MutableDirectory> MutableConnection<DirectoryType>
pub fn create( scope: ExecutionScope, directory: Arc<DirectoryType>, protocols: impl ProtocolsExt, object_request: ObjectRequestRef<'_>, ) -> Result<impl Future<Output = ()>, Status>
Trait Implementations§
Source§impl<DirectoryType: MutableDirectory> TokenInterface for MutableConnection<DirectoryType>
impl<DirectoryType: MutableDirectory> TokenInterface for MutableConnection<DirectoryType>
Source§fn get_node(&self) -> Arc<dyn MutableDirectory>
fn get_node(&self) -> Arc<dyn MutableDirectory>
Returns the node and flags that correspond with this token. This information is returned by
the but it should
be possible to change this so that files can be represented in future if and when the need
arises.
get_owner
method. For now this always returns ArcSource§fn token_registry(&self) -> &TokenRegistry
fn token_registry(&self) -> &TokenRegistry
Returns the token registry.
impl<'pin, DirectoryType: MutableDirectory> Unpin for MutableConnection<DirectoryType>where
__MutableConnection<'pin, DirectoryType>: Unpin,
Auto Trait Implementations§
impl<DirectoryType> Freeze for MutableConnection<DirectoryType>
impl<DirectoryType> !RefUnwindSafe for MutableConnection<DirectoryType>
impl<DirectoryType> Send for MutableConnection<DirectoryType>
impl<DirectoryType> Sync for MutableConnection<DirectoryType>
impl<DirectoryType> !UnwindSafe for MutableConnection<DirectoryType>
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