RVRUZGHUCMZO2UAXMT5NVJM62XK3B3TZWXZFWZKKGIX6RI7LPLCQC
return Ok(Repository {
pristine,
});
return Ok(Repository { pristine });
}
fn load_channel(
&mut self,
txn: &Txn,
channel_name: &str,
) -> Result<ChannelRef<Txn>, Box<dyn Error>> {
match txn.load_channel(channel_name) {
Ok(opt) => match opt {
Some(c) => Ok(c),
None => Err(Box::new(NoSuchChannelError {
channel_name: channel_name.to_string(),
})),
},
Err(err) => Err(err.into()),
}