pub async fn root(&mut self) -> Result<Folder, Error> {
        match self.get_node("FOLDER::com.apple.CloudDocs::root").await? {
            DriveNode::Folder(folder) => Ok(folder),
            _ => Err(Error::InvalidDriveNodeType)
        }
    }
// Retrieves the root directory within the iCloud Drive.
Retrieves the root directory within the iCloud Drive.
Retrieves the root directory within the iCloud Drive .
pub async fn root(&mut self) -> Result<Folder, Error> {
        match self.get_node("FOLDER::com.apple.CloudDocs::root").await? {
            DriveNode::Folder(folder) => Ok(folder),
            _ => Err(Error::InvalidDriveNodeType)
        }
    }
pub async fn root ( & mut self ) -> Result < Folder , Error > { match self . get_node ( " " ) . await ? { DriveNode :: Folder ( folder ) => Ok ( folder ) , _ => Err ( Error :: InvalidDriveNodeType ) } }
Retrieves the root directory within the iCloud Drive.
Retrieves the root directory within the iCloud Drive .
&mut self
&mut self