pub fn expand(&self) -> Vec<fio::Operations> {
        match self {
            Self::Connect => vec![fio::Operations::CONNECT],
            Self::Enumerate => vec![fio::Operations::ENUMERATE],
            Self::Execute => vec![fio::Operations::EXECUTE],
            Self::GetAttributes => vec![fio::Operations::GET_ATTRIBUTES],
            Self::ModifyDirectory => vec![fio::Operations::MODIFY_DIRECTORY],
            Self::ReadBytes => vec![fio::Operations::READ_BYTES],
            Self::Traverse => vec![fio::Operations::TRAVERSE],
            Self::UpdateAttributes => vec![fio::Operations::UPDATE_ATTRIBUTES],
            Self::WriteBytes => vec![fio::Operations::WRITE_BYTES],
            Self::ReadAlias => vec![
                fio::Operations::CONNECT,
                fio::Operations::ENUMERATE,
                fio::Operations::TRAVERSE,
                fio::Operations::READ_BYTES,
                fio::Operations::GET_ATTRIBUTES,
            ],
            Self::WriteAlias => vec![
                fio::Operations::CONNECT,
                fio::Operations::ENUMERATE,
                fio::Operations::TRAVERSE,
                fio::Operations::WRITE_BYTES,
                fio::Operations::MODIFY_DIRECTORY,
                fio::Operations::UPDATE_ATTRIBUTES,
            ],
            Self::ExecuteAlias => vec![
                fio::Operations::CONNECT,
                fio::Operations::ENUMERATE,
                fio::Operations::TRAVERSE,
                fio::Operations::EXECUTE,
            ],
            Self::ReadWriteAlias => vec![
                fio::Operations::CONNECT,
                fio::Operations::ENUMERATE,
                fio::Operations::TRAVERSE,
                fio::Operations::READ_BYTES,
                fio::Operations::WRITE_BYTES,
                fio::Operations::MODIFY_DIRECTORY,
                fio::Operations::GET_ATTRIBUTES,
                fio::Operations::UPDATE_ATTRIBUTES,
            ],
            Self::ReadExecuteAlias => vec![
                fio::Operations::CONNECT,
                fio::Operations::ENUMERATE,
                fio::Operations::TRAVERSE,
                fio::Operations::READ_BYTES,
                fio::Operations::GET_ATTRIBUTES,
                fio::Operations::EXECUTE,
            ],
        }
    }
/// Expands this right or bundle or rights into a list of `fio::Operations`.
Expands this right or bundle or rights into a list of `fio::Operations`.
Expands this right or bundle or rights into a list of ` fio :: Operations ` .
pub fn expand(&self) -> Vec<fio::Operations> {
        match self {
            Self::Connect => vec![fio::Operations::CONNECT],
            Self::Enumerate => vec![fio::Operations::ENUMERATE],
            Self::Execute => vec![fio::Operations::EXECUTE],
            Self::GetAttributes => vec![fio::Operations::GET_ATTRIBUTES],
            Self::ModifyDirectory => vec![fio::Operations::MODIFY_DIRECTORY],
            Self::ReadBytes => vec![fio::Operations::READ_BYTES],
            Self::Traverse => vec![fio::Operations::TRAVERSE],
            Self::UpdateAttributes => vec![fio::Operations::UPDATE_ATTRIBUTES],
            Self::WriteBytes => vec![fio::Operations::WRITE_BYTES],
            Self::ReadAlias => vec![
                fio::Operations::CONNECT,
                fio::Operations::ENUMERATE,
                fio::Operations::TRAVERSE,
                fio::Operations::READ_BYTES,
                fio::Operations::GET_ATTRIBUTES,
            ],
            Self::WriteAlias => vec![
                fio::Operations::CONNECT,
                fio::Operations::ENUMERATE,
                fio::Operations::TRAVERSE,
                fio::Operations::WRITE_BYTES,
                fio::Operations::MODIFY_DIRECTORY,
                fio::Operations::UPDATE_ATTRIBUTES,
            ],
            Self::ExecuteAlias => vec![
                fio::Operations::CONNECT,
                fio::Operations::ENUMERATE,
                fio::Operations::TRAVERSE,
                fio::Operations::EXECUTE,
            ],
            Self::ReadWriteAlias => vec![
                fio::Operations::CONNECT,
                fio::Operations::ENUMERATE,
                fio::Operations::TRAVERSE,
                fio::Operations::READ_BYTES,
                fio::Operations::WRITE_BYTES,
                fio::Operations::MODIFY_DIRECTORY,
                fio::Operations::GET_ATTRIBUTES,
                fio::Operations::UPDATE_ATTRIBUTES,
            ],
            Self::ReadExecuteAlias => vec![
                fio::Operations::CONNECT,
                fio::Operations::ENUMERATE,
                fio::Operations::TRAVERSE,
                fio::Operations::READ_BYTES,
                fio::Operations::GET_ATTRIBUTES,
                fio::Operations::EXECUTE,
            ],
        }
    }
pub fn expand ( & self ) -> Vec < fio :: Operations > { match self { Self :: Connect => vec ! [ fio Operations CONNECT ] , Self :: Enumerate => vec ! [ fio Operations ENUMERATE ] , Self :: Execute => vec ! [ fio Operations EXECUTE ] , Self :: GetAttributes => vec ! [ fio Operations GET_ATTRIBUTES ] , Self :: ModifyDirectory => vec ! [ fio Operations MODIFY_DIRECTORY ] , Self :: ReadBytes => vec ! [ fio Operations READ_BYTES ] , Self :: Traverse => vec ! [ fio Operations TRAVERSE ] , Self :: UpdateAttributes => vec ! [ fio Operations UPDATE_ATTRIBUTES ] , Self :: WriteBytes => vec ! [ fio Operations WRITE_BYTES ] , Self :: ReadAlias => vec ! [ fio Operations CONNECT fio Operations ENUMERATE fio Operations TRAVERSE fio Operations READ_BYTES fio Operations GET_ATTRIBUTES ] , Self :: WriteAlias => vec ! [ fio Operations CONNECT fio Operations ENUMERATE fio Operations TRAVERSE fio Operations WRITE_BYTES fio Operations MODIFY_DIRECTORY fio Operations UPDATE_ATTRIBUTES ] , Self :: ExecuteAlias => vec ! [ fio Operations CONNECT fio Operations ENUMERATE fio Operations TRAVERSE fio Operations EXECUTE ] , Self :: ReadWriteAlias => vec ! [ fio Operations CONNECT fio Operations ENUMERATE fio Operations TRAVERSE fio Operations READ_BYTES fio Operations WRITE_BYTES fio Operations MODIFY_DIRECTORY fio Operations GET_ATTRIBUTES fio Operations UPDATE_ATTRIBUTES ] , Self :: ReadExecuteAlias => vec ! [ fio Operations CONNECT fio Operations ENUMERATE fio Operations TRAVERSE fio Operations READ_BYTES fio Operations GET_ATTRIBUTES fio Operations EXECUTE ] , } }
Expands this right or bundle or rights into a list of `fio::Operations`.
Expands this right or bundle or rights into a list of ` fio :: Operations ` .
&self
&self